Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [postscript]

The tag has no usage guidance.

0
votes
0answers
14 views

Why is this Thunar Custom Actions Pastebin script posting with unwanted quotes?

This question is regarding these nice thunar custom actions scripts which I found here: https://github.com/cytopia/thunar-custom-actions One in particular is doing something strange that I can't seem ...
1
vote
0answers
42 views

How do I rotate the orientation in the ghostscript plot for ps file?

I am plotting the (postscript) ps file using the ghostscript in the terminal. When I use the command"gs file.ps", it always gives the portrait orientation like following do you know how could I ...
0
votes
0answers
8 views

Ghostscript taking a lot of time for loading fonts while extracting text from postscript file

I want to extract the text of the first page (i.e., the cover) of the postscript file manual.ps. For doing this, I am using the following command (the sed is necessary for removing the long spaces ...
2
votes
1answer
71 views

“Place” Letter Sized PDF to Larger pdf at specific position

Lulu is a print on-demand service. Part of the creation process is to upload a cover. The "cover" is 1 page that has the dimensions 17.25 inches wide by 11.25 inches high. There is a 0.125 "bleed area"...
1
vote
0answers
60 views

How do I get a standard list of US holidays for use with pcal?

I've been using the pcal command for ages, I use it to print out blank monthly calendars, which serve as my event diaries. I learned that it has the ability to print calendars with Federal holidays ...
0
votes
1answer
95 views

Where to get PostScript printer driver for HP OfficeJet Pro 8210?

The Tails-developers have inserted a pretty nice PostScript printer driver for HP OfficeJet Pro 8210 into Tails. I am strongly searching on where to get this driver, so I already installed the ...
6
votes
2answers
1k views

Export a man page in pdf

Doing man -t man > man.ps will export the man page for man in postscript. How can I export it in PDF? I have gone through the manuals and learnt about the -T option but it's a bit unclear to me.
1
vote
1answer
119 views

CUPS manual duplex printing on Dell E525w Color LED all-in-one in Linux Mint

Dell's Linux support for this printer is limited to a .ppd file that hasn't been updated since 2015, and that doesn't support the manual duplex mode that is apparently hard-coded into the printer's ...
0
votes
1answer
51 views

How can I use `psutils` to imposition 16 A7 pages onto the front and back of a A4 sheet so it will fold into a booklet?

I want to use psutils to imposition 16 A7 pages onto one A4 paper, so that it can be folded three times to create a booklet (that has to be cut of course). The booklet will be in A7 format and have 16 ...
1
vote
1answer
40 views

Finding the size (in points) of the descender of a font in Ghostscript / Postscript?

I would like to place a horizontal line immediately below some text. Is it possible to determine the distance between the baseline and lowest descender of a given font in Ghostscript, or is the ...
2
votes
0answers
269 views

Printed PDF says “invalidfont” and “OFFENDING COMMAND” when printing from Chrome

I have a OKI MC562dnw hooked up to my network and CUPS (2.1.3) installed on my laptop (Ubuntu 16.04.3) containing PostScript-drivers from OKI's site. Whenever I print a PDF-file from a website in ...
2
votes
1answer
120 views

exporting man pages to postscript

I found that I can save man page into ps format: man -t man > file.ps or to pdf: man -t man | ps2pdf - file.pdf Apart from the man page itself, the export includes man version, page numbers and ...
0
votes
1answer
65 views

Load UserDict into a Postscript File

How do I store a user dictionary in one file and load the same dictionary at the beginning of another file? This should give the same result as if the dictionary was defined at the top of the same ...
1
vote
0answers
213 views

Vim hardcopy font change [closed]

On Linux, the only print font available is Courier. As the output was not satisfactory to me, a few years ago, I wrote a bash script to workaround this limitation. This script merely launch Vim with ...
1
vote
0answers
158 views

Linux server with cups daemon connected to active directory protecting clients from using drivers or PPDs

I want to create a printer server (Ubuntu 16.04) running a cups daemon and sharing its connected printers with multiple clients (even Ubuntu 16.04). Right now those clients can use the printers but I ...
2
votes
0answers
105 views

How can I print on 11x17 paper by specifying the printer tray in the postscript file?

This is a unix question as it may involve changing settings on the unix printer driver, or getting the right printer driver in the first place. Unix: RHEL 5.1 (Tikanga) Printer hardware: Kyocera ...
0
votes
2answers
37 views

Understanding Printing, Postcript file, pdf etc.

I have 3 questions. 1) Has .pdf files replaced PostScript for printing? 2) In a normal printing environment, is PostScripts always used to print anything? 3) How does printing actually work in ...
2
votes
2answers
704 views

How do I use `lpr` to print multiple files using 4 pages per sheet?

I create eps/png/pdf figures using python scripts. I want to use one lpr command to print several figures with 4 on each sheet of paper. The following command printed each figure on one fourth of a ...
2
votes
1answer
141 views

Edit an eps file generated by Tecplot

The eps file which contains one simple curve was generated by Tecplot, but I do not have Tecplot in hand now. I remember it is possible to edit it through VI (as we can open the file with VI, and see ...
1
vote
1answer
73 views

Is there a common way to render out pdf files in a human-readable format on the command-line and keep the general layout?

I'm imagining something deeper than pdftotext (part of poppler-utils), because what I was imaging would be possible, would be to retain most of the layout on a virtual page, e.g. pipe this through a ...
1
vote
1answer
601 views

GraphViz: how to get UTF-8 AND external PostScript procedures?

Goal: draw a flowchart which contains non-Latin1 symbols. Problem: GraphViz does not provide all node shapes necessary for drawing a flowchart (e.g. "Document", "Predefined Process" etc). Fortunately,...
2
votes
1answer
192 views

howto set up network printer (DE-agnostic solution)

I have a network printer. I can send a postscript file to the printer using nc, and the printer prints it: cat tiger.eps | nc 192.168.0.6 9100 If I want to print from my applications (ie from ...
5
votes
2answers
8k views

Conversion of PDF to PS

I'm quite new to shell scripting. I need to create a script or reuse a script that converts PDF to PS (Post Script) files, is there anyway this can be done?
2
votes
1answer
2k views

Lp and lpr postscript printing behaviour

I recently created a wireless print server with cups and samba on raspbian. I'm able to print from every device on my home network but I noticed a strange behaviour: when I print a postscript file ...
3
votes
1answer
3k views

Specifying font with enscript

I've read the man page for enscript but cannot find the answer to this problem. I am trying to print using enscript with a downloaded AFM file but I can't get it to work. I keep getting the following ...
3
votes
2answers
823 views

Preventing mid-word line breaks in a2ps

So I understand that a2ps is mostly for converting ASCII code to postscript for printing, but occasionally I like to print a .txt or .md file for school. Often, an entire sentence (or even a paragraph)...
1
vote
0answers
69 views

scan directories of .pdf and .ps files for keyword in title and author

I have got directories full of research papers. I would like to scan the files for keywords in the titles, the author lists, etc. Does a tool for that purpose exist?
1
vote
1answer
10k views

Conversion from PNG to EPS

I would like to convert PNG images/graphs to EPS without losing even a bit on resolution. All the commands I tried (potrace, autotrace, convert, gimp) decrease the resolution quality.
1
vote
0answers
249 views

Print EPS file at original size but changed position

I'd like to print EPS files, ensuring they print at their original size. I found out that my default document viewer, Okular from KDE, will always scale to fit size, and I can't seem to find a way to ...
1
vote
1answer
1k views

How do I set up a PostScript print queue to share a PCL laser printer and add PS fonts?

I would like to take a $100 PCL-compatible laser printer and hook it to my home network either through Wi-Fi or by connecting it directly to a Linux server by USB. Instead of using the manufacturer-...
8
votes
3answers
29k views

what is the command to display .eps files?

I'm have a file called t-0.8.eps. How can I open this file in the shell? I am using Mac and when I click .eps files the preview (the name of the software to read PDFs) says failed.
5
votes
1answer
130 views

Is there a tool or method for magnifying existing PostScript or PDF files for printing - not just for display

Almost all my printing, including web pages and emails works fine and has done so for years, but ... When I print web pages and emails, I routinely run into a few that print in something like 1 point ...
3
votes
1answer
1k views

Printing UTF-8 (including Chinese) text

I am trying to print a large quantity (several megabytes) of UTF-8 encoded text which consists of Chinese and Latin characters (and maybe a sprinkling of others). I would like to print it in several ...
5
votes
1answer
14k views

Merge several eps files into one PDF

I have several hundred encapulated postscript files, and I want to merge them all into one big PDF. How can I do this?
5
votes
1answer
1k views

convert man output to ebook format

I can convert man output to PDF. First, man -t grep >grep.ps (grep is just an example; I am not looking for mobile version of grep man page). Then Adobe Distiller converts PostScript to PDF. ...
3
votes
3answers
1k views

How can I convert raw printer commands back to a postscript or pdf file?

I have a string of raw printer commands that are for my postscript printer saved to a file. I believe there is a lpr option like -o raw which will read these raw command and send them to the printer. ...
3
votes
1answer
144 views

How can you change the format command used by man?

I'd like to define a new command that prints man pages to PostScript, but using a page size different than the default. For example, on Mac OS X you can run man -t ls | open -f -a Skim to open the ...
3
votes
0answers
2k views

troff to PDF conversion

I am very new to UNIX and trying to learn troff. I have some set of very old written troff files (before 20 years from now). Some samples are hereunder: file_00.g B,4.5,3.5,15.5,23.5 D,1.3,1.25,1.5,...
2
votes
1answer
278 views

groff to PS Conversion

I am very new to UNIX, learning groff with the help of cygwin on Windows XP SP3. I have downloaded groff-binaries from here, but using cygwin, I could not able to re-produce ps files. I have used ...
3
votes
1answer
921 views

How to export a vector graphic to eps?

I have a Scalable Vector Graphic (svg) which I can convert to pdf with inkscape. The pdf still looks fine when viewed in okular or evince. However, I require an eps file. I understand that eps may ...
7
votes
4answers
12k views

printing problems with DDST (aka PCL6) printer RICOH Aficio SP C240DN

I'm having big problems printing on a RICOH Aficio SP C240DN (a color laser printer). CUPS/OpenPrinting doesn't have a driver for exactly this printer. There are similar numbers but not 240DN. It ...
3
votes
1answer
216 views

Convert to postscript format using the Backend command before sending to a printer

Without using CUPS is there an way to add something on the Backend line in the print queue to convert all print sent to a queue to postscript from PDF format before sending the output to the printer?
2
votes
0answers
472 views

Locate enscript reported non-printable chars

I'm making a postscript of a bunch of C code, and enscript reports I have 2 non-printable chars [ 91 pages * 1 copy ] left in a.ps 2 non-printable characters non-printable character codes (decimal): ...
10
votes
3answers
1k views

syntax_highlight <source_file> | lpr

Does anyone know of a simple way to produce the PostScript corresponding to a syntax-highlighted version of a source file that can be piped directly to a PostScript printer? As the wording of the ...
5
votes
2answers
941 views

How to control the page parameters (margins, brochurisation) of `man -t` PostScript output?

I want to print several man pages as several booklets. I need to tweak the output of the man -t command so the resulting PostScript file will have the brochurised page numbering, pages must be ...