Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.postscript > #2443
| Newsgroups | comp.lang.postscript |
|---|---|
| From | Peter Billam <peter@www.pjb.com.au> |
| Subject | Re: converting to pdf messes up portrait to seascape |
| References | <slrnndka1q.1ml.peter@box8.pjb.com.au> <nbfaa8$d1e$1@dont-email.me> |
| Message-ID | <slrnndn3hf.2h3.peter@box8.pjb.com.au> (permalink) |
| Date | 2016-03-06 01:56 +0000 |
| Organization | Unlimited download news at news.astraweb.com |
On 2016-03-05, Martin Leese <please@see.Web.for.e-mail.INVALID> wrote: > 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. I get a third possible outcome by: gs ooo_pjb_com_au_card.pdf which displays rotated into Seascape format :-( but without being translated and cropped through the middle of the picture like gv does. It all seems very unpredictable. gs ooo_pjb_com_au_card.ps display correctly. I woke with the theory that in -sDEVICE=pdfwrite the showpage was being interpreted within the context of the 0 ymax 0.5 mul translate 0.707 0.707 scale -90 rotate line, so I enclosed that line and everything up to the showpage in a gsave ... grestore but alas, no change. I'll embark on a line-by-line pruning-campaign to try to localise the problem... Regards, Peter -- Peter Billam www.pjb.com.au www.pjb.com.au/comp/contact.html
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