Questions tagged [postscript]
The postscript tag has no usage guidance.
57
questions
1
vote
1
answer
46
views
Converting non-English manual pages to PDF/PostScript
I'm trying to convert manual pages containing either Japanese or Russian characters to the PDF/PostScript formats. I'm doing it with the following commands.
man -Tpdf /usr/share/man/ja/man1/vim.1.gz &...
1
vote
1
answer
1k
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 ...
0
votes
0
answers
748
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 ...
1
vote
1
answer
98
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)...
2
votes
1
answer
787
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 ...
0
votes
0
answers
268
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 ...
1
vote
1
answer
70
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 ...
1
vote
1
answer
54
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 ...
13
votes
2
answers
2k
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 ...
4
votes
1
answer
2k
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. ...
5
votes
1
answer
702
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?
4
votes
1
answer
609
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.
0
votes
1
answer
1k
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 ...
2
votes
2
answers
773
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 ...
2
votes
0
answers
490
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 ...
2
votes
1
answer
598
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
0
answers
401
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
1
answer
366
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 ...
19
votes
2
answers
11k
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.
2
votes
1
answer
573
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
1
answer
235
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
1
answer
303
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 ...
3
votes
0
answers
739
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 ...
1
vote
1
answer
594
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
1
answer
222
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 ...
4
votes
0
answers
116
views
several eps to ps
I have a bunch of eps vector images (btw... they are generated from dxf), and want to stack them on a single ps so I can print them on a single sheet. The eps files share the same dimensions but have ...
1
vote
0
answers
222
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
0
answers
302
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
2
answers
72
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 ...
3
votes
2
answers
2k
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
1
answer
241
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
1
answer
133
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
1
answer
1k
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,...
0
votes
1
answer
286
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 ...
9
votes
2
answers
19k
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?
4
votes
1
answer
5k
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 ...
6
votes
1
answer
6k
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
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)...
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?
4
votes
1
answer
16k
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
0
answers
394
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 ...
3
votes
1
answer
2k
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-...
10
votes
3
answers
49k
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
1
answer
226
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
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 ...
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?
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. ...
3
votes
3
answers
2k
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
1
answer
311
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
0
answers
3k
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,...