[gs-devel] PS2Jpeg in Landscape xefitra

Peter Carlson peter at keynoteconference.com
Fri Apr 25 17:58:32 PDT 2008


I am using apple laserwriter print driver on windows to print a 
powerpoint presentation (slides) to a file.
then I run gswin32c like this:
c:"\program files\gs\gs8.62\bin"\gswin32c -sDEVICE=jpeg -dNOPAUSE 
-dBATCH -dSAFER -dAutoRotatePages=/All -r100 -sOutputFile=peter%d.jpg 
output.ps
or
c:"\program files\gs\gs8.62\bin"\gswin32c -sDEVICE=jpeg -dNOPAUSE 
-dBATCH -dSAFER -dNORANGEPAGESIZE -sPAPERSIZE=letter -r100 
-sOutputFile=peter%d.jpg output.ps
However the resulting jpegs are in portrait mode not landscape.
1.  Why isn't %%Orientation being used?
2.  How can I use gs to rotate?

-----part of output.ps
%-12345X at PJL JOB NAME = "Microsoft PowerPoint - Test Presentation.ppt"
@PJL JOB
@PJL ENTER LANGUAGE = POSTSCRIPT
%!PS-Adobe-3.0
%%Title: Microsoft PowerPoint - Test Presentation.ppt
%%Creator: PScript5.dll Version 5.2.2
%%CreationDate: 4/25/2008 17:21:45
%%For: peter
%%BoundingBox: (atend)
%%Pages: (atend)
%%Orientation: Landscape
%%PageOrder: Special
%%DocumentNeededResources: (atend)
%%DocumentSuppliedResources: (atend)
%%DocumentData: Clean7Bit
%%TargetDevice: (Xerox Phaser 1235) (3011.103) 1
%%LanguageLevel: 3
%%EndComments

%%BeginDefaults
%%PageBoundingBox: 16 16 595 775
%%ViewingOrientation: 0 -1 1 0
%%EndDefaults

Peter


More information about the gs-devel mailing list