Questions tagged [postscript]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
297 views

Cannot open X display `(null)'. **** Unable to open the initial device, quitting

input: gs myPSFile.ps output: GPL Ghostscript 9.50 (2019-10-15) Copyright (C) 2019 Artifex Software, Inc. All rights reserved. This software is supplied under the GNU AGPLv3 and comes with NO ...
user avatar
0 votes
0 answers
121 views

Evince is displaying correctly but is printing incorrectly

I was given a structural engineering PDF document with some yellow highlighted text which displays correctly in Evince like this: But when I try to print that same page it shows the yellow, but not ...
user avatar
1 vote
1 answer
61 views

How do I output an individual eqn described equation to a .ps or .eps?

I would like to reuse the output from eqn to get PS or EPS files which contains just the equation and not a complete A4 with the equation. If I try: $ cat test.eqn .EQ For ~ y=1 ~ -> ~ L( y hat , y)...
user avatar
  • 569
2 votes
1 answer
247 views

How can I include a pic figure as external file in groff?

While using groff and pic it is possible to do: $ cat test.ms .TL Test .NH 1 Test Header .PS circle arrow box .PE $ cat test.ms | groff -ms -p > test.ps Which generates a valid test.ps file ...
user avatar
  • 569
0 votes
0 answers
54 views

Is it possible to convert a pdf file to post script, then to text for see codes used in post script?

I have one pdf file where text have been formatted in tables, boxes, background colours. I tried to convert my text file to pdf with boxes, tables and background colours with enscript. I got success ...
user avatar
1 vote
1 answer
52 views

Method to layout graphics file and pdf file for printing

I'm working on a project to automate the creation of shipping labels, (Avery 8127) to be exact. I get a PNG of the USPS/UPS/FedEx shipping label, but the packing slip can vary between a PDF or a ...
user avatar
  • 934
1 vote
1 answer
35 views

How to print several copies of a large postscript file on a printer with little memory?

I'm printing a postscript file containing a folder on my HP Laserjet 1320. I can print the folder one by one, but when I try to print a couple of them at one time, say 10, the printer doesn't have ...
user avatar
13 votes
2 answers
1k views

Why is my PostScript print quality so poor?

My wife and I downloaded PDF museum passes and printed them on the same PostScript laser printer. To my surprise, hers looked much better! On the left is the printout from her Mac, and on the right ...
user avatar
4 votes
1 answer
1k views

Can't use different font families in groff -ms

I'm using groff with ms macros and outputting it to PostScript. On Linux Void. I want to have a different font and also output Unicode characters. I have converted my font as written in this question. ...
user avatar
  • 43
3 votes
1 answer
246 views

How to emulate the NeWS window system

Is there a reasonably easy way to run NeWS (Network-extensible Window System, a PostScript-based window system made by researchers at Sun in the 1980s) on current computers?
user avatar
  • 749
4 votes
1 answer
457 views

Displaying orbital node characters in groff ms macros

I'm trying to display the characters for ascending and descending orbital nodes (☊ and ☋) in groff, however when I export the document to postscript they simply don't show.
user avatar
0 votes
1 answer
633 views

cups printer prints raw postscript

I have an OKI B430d printer, which is connected to an Odroid C2 (a single-board computer similar to the Raspberry Pi) via USB. The Odroid runs Arch Linux Arm with a cups server, so every device in the ...
user avatar
2 votes
2 answers
570 views

Error using ps2pdf

I used to work on linux in a virtual Box and now I'm using a computer with Ubuntu 16.04. I have some ps files I need to convert to pdf and I used to run the command ps2pdf file.ps file.pdf in my ...
user avatar
1 vote
0 answers
303 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 ...
user avatar
2 votes
1 answer
377 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"...
user avatar
1 vote
0 answers
289 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 ...
user avatar
0 votes
1 answer
288 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 ...
user avatar
  • 926
17 votes
2 answers
7k 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.
user avatar
2 votes
1 answer
438 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 ...
user avatar
0 votes
1 answer
136 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 ...
user avatar
1 vote
1 answer
189 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 ...
user avatar
  • 113
2 votes
0 answers
665 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 ...
user avatar
  • 81
1 vote
1 answer
348 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 ...
user avatar
0 votes
1 answer
147 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 ...
user avatar
  • 11
1 vote
0 answers
191 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 ...
user avatar
2 votes
0 answers
207 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 ...
user avatar
  • 229
0 votes
2 answers
60 views

Understanding Printing, Postcript file, pdf etc

I have 3 questions. Has .pdf files replaced PostScript for printing? In a normal printing environment, is PostScripts always used to print anything? How does printing actually work in terms of a ...
user avatar
3 votes
2 answers
1k 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 ...
user avatar
2 votes
1 answer
196 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 ...
user avatar
1 vote
1 answer
95 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 ...
user avatar
1 vote
1 answer
889 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,...
user avatar
  • 143
0 votes
1 answer
236 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 ...
user avatar
6 votes
2 answers
16k 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?
user avatar
  • 71
4 votes
1 answer
4k 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 ...
user avatar
4 votes
1 answer
5k 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 ...
user avatar
3 votes
2 answers
1k 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)...
user avatar
1 vote
0 answers
71 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?
user avatar
  • 173
4 votes
1 answer
14k 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.
user avatar
  • 43
1 vote
0 answers
345 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 ...
user avatar
  • 3,921
3 votes
1 answer
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-...
user avatar
10 votes
3 answers
43k 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.
user avatar
  • 383
5 votes
1 answer
189 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 ...
user avatar
  • 1,320
3 votes
1 answer
2k 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 ...
user avatar
5 votes
1 answer
17k 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?
user avatar
  • 9,032
7 votes
1 answer
2k 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. ...
user avatar
  • 245
3 votes
3 answers
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. ...
user avatar
  • 41.3k
3 votes
1 answer
220 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 ...
user avatar
  • 131
3 votes
0 answers
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,...
user avatar
  • 163
3 votes
1 answer
398 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 ...
user avatar
  • 163
3 votes
1 answer
1k 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 ...
user avatar
  • 1,044