[cups.general] pdf orientation issue in Cups 1.4.6 and ghostscript 9.02

Helge Blischke h.blischke at acm.org
Wed May 11 07:14:07 PDT 2011


Burke Sean wrote:

> Hi Helge,
> 
> Thanks for the information. I setup as suggested in the documentation and
> it now appears to pick up gstoraster when comparing OLD to NEW logs, but
> the output is the same.
> 
> OLD
> zebra.log:d [11/May/2011:13:41:55 -0100]
> cupsdStartProcess(command="/opt/csw/lib/cups/filter/pstoraster",
> argv=620c288, envp=ffbf1798, infd=18, outfd=23, errfd=15, backfd=16,
> sidefd=20, root=0, profile=0, job=620a360(1083), pid=620a3e8) = 11763
> zebra.log:I [11/May/2011:13:41:55 -0100] [Job 1083] Started filter
> /opt/csw/lib/cups/filter/pstoraster (PID 11763) zebra.log:d
> [11/May/2011:13:41:55 -0100]
> cupsdStartProcess(command="/opt/csw/lib/cups/filter/rastertolabel",
> argv=620c288, envp=ffbf1798, infd=22, outfd=21, errfd=15, backfd=16,
> sidefd=20, root=0, profile=0, job=620a360(1083), pid=620a3ec) = 11764
> zebra.log:I [11/May/2011:13:41:55 -0100] [Job 1083] Started filter
> /opt/csw/lib/cups/filter/rastertolabel (PID 11764) zebra.log:d
> [11/May/2011:13:41:58 -0100] cupsdFinishProcess(pid=11764, name=ffbff7e0,
> namelen=1024, job_id=ffbff3d8(1083)) =
> "/opt/csw/lib/cups/filter/rastertolabel" zebra.log:d [11/May/2011:13:41:58
> -0100] cupsdFinishProcess(pid=11763, name=ffbff7e0, namelen=1024,
> job_id=ffbff3d8(1083)) = "/opt/csw/lib/cups/filter/pstoraster"
> zebra_gstoraster.log:d [11/May/2011:14:25:05 -0100]
> cupsdStartProcess(command="/opt/csw/lib/cups/filter/gstoraster",
> argv=623b240, envp=ffbf18c8, infd=-1, outfd=22, errfd=16, backfd=17,
> sidefd=21, root=0, profile=0, job=620e048(1086), pid=620e0cc) = 12018
> 
> NEW
> zebra_gstoraster.log:I [11/May/2011:14:25:05 -0100] [Job 1086] Started
> filter /opt/csw/lib/cups/filter/gstoraster (PID 12018)
> zebra_gstoraster.log:d [11/May/2011:14:25:05 -0100]
> cupsdStartProcess(command="/opt/csw/lib/cups/filter/rastertolabel",
> argv=623b240, envp=ffbf18c8, infd=19, outfd=24, errfd=16, backfd=17,
> sidefd=21, root=0, profile=0, job=620e048(1086), pid=620e0d0) = 12019
> zebra_gstoraster.log:I [11/May/2011:14:25:05 -0100] [Job 1086] Started
> filter /opt/csw/lib/cups/filter/rastertolabel (PID 12019)
> zebra_gstoraster.log:d [11/May/2011:14:25:08 -0100]
> cupsdFinishProcess(pid=12018, name=ffbff910, namelen=1024,
> job_id=ffbff508(1086)) = "/opt/csw/lib/cups/filter/gstoraster"
> zebra_gstoraster.log:d [11/May/2011:14:25:08 -0100]
> cupsdFinishProcess(pid=12019, name=ffbff910, namelen=1024,
> job_id=ffbff508(1086)) = "/opt/csw/lib/cups/filter/rastertolabel"
> 
> The entry in the ppd for the printer specifies:
> *LandscapeOrientation: Plus90
> *cupsFilter: "application/vnd.cups-raster 50 rastertolabel"
> 
> Any more thoughts?
> 
> Cheers
> 
> Sean
> 
Make sure that no pdftops or similar filter is involved.
Does the gstoraster filter write any messages to the error_log beginning 
with "N" (for NOTICE)?
What PDF version are you using?
If in doubt, drop me a sample PDF for testing.

Helge






More information about the cups mailing list