Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.postscript > #2442
| From | Martin Leese <please@see.Web.for.e-mail.INVALID> |
|---|---|
| Newsgroups | comp.lang.postscript |
| Subject | Re: converting to pdf messes up portrait to seascape |
| Date | 2016-03-05 12:02 -0700 |
| Organization | A noiseless patient Spider |
| Message-ID | <nbfaa8$d1e$1@dont-email.me> (permalink) |
| References | <slrnndka1q.1ml.peter@box8.pjb.com.au> |
Peter Billam wrote: > Greetings :-) This Postscript file for a greeting card: > http://www.pjb.com.au/comp/free/ooo_pjb_com_au_card.ps > views just fine on my debian stable gv 3.7.4, ie: it displays in > A4 Portrait, which if I fold in half gives me a greeting card :-) > > But converting it to pdf (for the local photocopy shop) with: > cat ooo_pjb_com_au_card.ps | /usr/bin/gs -q -sDEVICE=pdfwrite \ > -sPAPERSIZE=a4 -sOutputFile=ooo_pjb_com_au_card.pdf - > it gives me a ooo_pjb_com_au_card.pdf which when I view it with > gv ooo_pjb_com_au_card.pdf > displays in Seascape, all shifted around and with most of > the image chopped off :-( The resulting PDF works fine for me when viewed using Abode Reader. Perhaps the problem is with gv. You could also improve the command line a little to something like: /usr/bin/gs -sDEVICE=pdfwrite -sPAPERSIZE=a4 -sOutputFile=ooo_pjb_com_au_card.pdf -dNOPAUSE -dBATCH -dSAFER -f ooo_pjb_com_au_card.ps > Do I need to specify something I haven't specified ? To force portrait mode from the command line, the gs manual suggests inserting: -dAutoRotatePages=/None -c "<</Orientation 0>> setpagedevice" However, adding this before -f changes nothing on my system. -- Regards, Martin Leese E-mail: please@see.Web.for.e-mail.INVALID Web: http://members.tripod.com/martin_leese/
Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
converting to pdf messes up portrait to seascape Peter Billam <peter@www.pjb.com.au> - 2016-03-05 00:28 +0000
Re: converting to pdf messes up portrait to seascape Martin Leese <please@see.Web.for.e-mail.INVALID> - 2016-03-05 12:02 -0700
Re: converting to pdf messes up portrait to seascape Peter Billam <peter@www.pjb.com.au> - 2016-03-06 01:56 +0000
Re: converting to pdf messes up portrait to seascape Peter Billam <peter@www.pjb.com.au> - 2016-03-06 05:02 +0000
Re: converting to pdf messes up portrait to seascape luser- -droog <mijoryx@yahoo.com> - 2016-03-05 21:34 -0800
Re: converting to pdf messes up portrait to seascape Martin Leese <please@see.Web.for.e-mail.INVALID> - 2016-03-05 23:07 -0700
csiph-web