ps2pdf landscape output
- From: "Toby McMillan, RHCE" <toby.mcmillan@xxxxxxxxx>
- Date: Fri, 28 Apr 2006 04:44:07 +0800
Is it possible to have a landscape orientation on a file created by
ps2pdf? What I'm trying to do is:
1. Process file.txt into file.ps (using enscript --word-wrap
--output=file.ps file.txt)
2. Process file.ps into file.pdf (via ps2pdf)
The only problem is I have long lines in file.txt which cause them to
be wrapped on a portrait orientation. It would really be great if I
can pass "landscape orientation" options to ps2pdf . I tried reading
up a bit on Ghostscript and read this:
"When there is no text on the page or automatic page rotation is set
to /None an orientation value from setpagedevice is used. Valid values
are: 0 (portrait), 3 (landscape), 2 (upside down), and 1 (seascape).
The orientation can be set from the command line as -c "<</Orientation
3>> setpagedevice" using Ghostscript directly but cannot be set in
ps2pdf."
Next question: How do I do this in Ghostscript? say, replace step 2 with gs?
Pointers appreciated. Thanks.
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
- Follow-Ups:
- Re: ps2pdf landscape output
- From: Allen K. Smith
- Re: ps2pdf landscape output
- Prev by Date: File permissions and group and user access problem
- Next by Date: Re: ps2pdf landscape output
- Previous by thread: File permissions and group and user access problem
- Next by thread: Re: ps2pdf landscape output
- Index(es):
Relevant Pages
- Re: RISC OS Printing problems & solutions
... I was thinking more in terms of the work to the PS drivers and GhostScript ...
the four optimization options that are predefined by Ghostscript (which ... similar form
to that used by ps2pdf. ... Steve Fryatt - Leeds, England ... (comp.sys.acorn.misc) - Re: Ov-Pro 2.76 to Postscript to PDF
... Drag Ghostscript into a folder on your hard disc, ... You should also find the
application ps2pdf. ... Ghostscript is a command-line utility. ... Alan
Adams, from Northamptonshire ... (comp.sys.acorn.misc) - Re: wrong margins with latex->dvips->ps2pdf and ieee.cls
... The problem is caused by the fact that your ps2pdf is using A4 paper. ... #
Convert PostScript to PDF using LaTeX recommended parameters. ... This is important as
Ghostscript will *not* embed the base 14 fonts under ... PDF level 1.2. ...
(comp.text.tex) - question regarding rc shell (on linux)
... to transform a ps file into a pdf file, I get a syntax error: ... ; ps2pdf
-sPAPERSIZE=a4 foo.ps ... there's no syntax error as far as ghostscript is ... (comp.unix.shell) - Re: ps2pdf landscape output
... Process file.ps into file.pdf (via ps2pdf) ... can pass "landscape orientation"
options to ps2pdf. ... up a bit on Ghostscript and read this: ... to /None an orientation
value from setpagedevice is used. ... (RedHat)