I found a strange bug that may/may not be limited to Prince's PDF output (as I don't know the PDF spec at all).
PrinceXML version: Prince 6.0 rev 5 (Personal License) via .deb package
ghostscript affected version: 7.31 and below
We do some funky stuff with converting PDF's to either Postscript or PCL and then send the data off to a Windows box and tell it to print to printer XYZ.
In the CSS for when specifying "size: US-Letter landscape;" to produce a PDF landscape.
Here is the command which prints only portrait
gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=<some pcl outputting device> -sPAPERSIZE=letter -OutputFile=bad.pcl -c save pop -f <landscape>.pdf
Adding -dNORANGEPAGESIZE to the command above generates the correct orientation for the PCL output (and hence the actual print out)
Original bug:
http://bugs.ghostscript.com/show_bug.cgi?id=629335
A bug of the actual problem I'm seeing:
http://bugs.ghostscript.com/show_bug.cgi?id=687330
Commit:
http://cvs.ghostscript.com/cgi-bin/view ... 6&view=log
See r4798
Is this something you guys can look into and verify that your PDF is doing the correct thing for setting landscape?
PrinceXML version: Prince 6.0 rev 5 (Personal License) via .deb package
ghostscript affected version: 7.31 and below
We do some funky stuff with converting PDF's to either Postscript or PCL and then send the data off to a Windows box and tell it to print to printer XYZ.
In the CSS for when specifying "size: US-Letter landscape;" to produce a PDF landscape.
Here is the command which prints only portrait
gs -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=<some pcl outputting device> -sPAPERSIZE=letter -OutputFile=bad.pcl -c save pop -f <landscape>.pdf
Adding -dNORANGEPAGESIZE to the command above generates the correct orientation for the PCL output (and hence the actual print out)
Original bug:
http://bugs.ghostscript.com/show_bug.cgi?id=629335
A bug of the actual problem I'm seeing:
http://bugs.ghostscript.com/show_bug.cgi?id=687330
Commit:
http://cvs.ghostscript.com/cgi-bin/view ... 6&view=log
See r4798
Is this something you guys can look into and verify that your PDF is doing the correct thing for setting landscape?