[gs-devel] PS -> PDF ->Print on Windows - Orientation Problem
stevethames
steve at softlife.com
Wed Aug 22 14:39:56 PDT 2007
I am using pstopdf14 to create PDF files from generated PS and then using
gswin32c to print them in batch.
My problem is that the first page is layed out in portrait and the second
and subsequent pages are in landscape. I am handling the orientation
change, myself, with rotate and translate. This all works well. However,
in order for Adobe Reader and GSView to switch the orientation correctly, I
either have to leave the "/AutoRotatePage=/PageByPage" setting (default) or
use "/AutoRotatePages=/None" and have "<< /PageSize [612 792] /Orientation 1
>> setpagedevice" in the PS file.
This makes both GSView and Adobe Reader set the orientation correctly for
the resulting PDF and both utilities print the file correctly. However, in
order to print in batch, I need to use gswin32c for printing the PDF files
and no rotation/translation happens. The landscape pages simply print in
portrait and are cut off on the right side.
If I remove the setpagedevice command from the PS file, the pages print
correctly but the viewers do not switch the orientation correctly. This is
a minor problem as both utilities give an option to rotate the display.
However, it would be nice to have the viewers automatically change
orientation and be able to print the files correctly from the command line
using gswin32c.
I tried using gsprint, part of GSView, and get no better results--probably
because gsprint is no doubt using gswin32c or accessing the GS DLL directly.
The Adobe Reader /t option is not a viable solution as it is an unsupported
feature and leaves little in the way of flexibility.
If anyone has any suggestions, I'd love to hear them.
--
View this message in context: http://www.nabble.com/PS--%3E-PDF--%3EPrint-on-Windows---Orientation-Problem-tf4313805.html#a12282027
Sent from the Ghostscript - Dev mailing list archive at Nabble.com.
More information about the gs-devel
mailing list