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

Burke Sean sean.burke at stryker.com
Wed May 11 05:40:38 PDT 2011


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

-----Original Message-----
From: cups-bounces at easysw.com [mailto:cups-bounces at easysw.com] On Behalf Of Helge Blischke
Sent: 11 May 2011 13:55
To: cups at easysw.com
Subject: Re: [cups.general] pdf orientation issue in Cups 1.4.6 and ghostscript 9.02

Burke Sean wrote:

> Hi,
>
> We are currently using Cups 1.2.7 with ESP Ghostscript 815.04 on solaris
> 10. We are in the process of moving over to a new server and we have
> installed Cups 1.4.6 and GPL Ghostscript 9.02.
>
> One of our documents that is a pdf label that we send to a Zebra ZPL Label
> Printer is no longer coming out in the correction orientation. Any ideas
> as to where to even begin to start to debug this issue?
>
> I suspect it may be to do with the new ghostscript version as the docs
> state ""By default Ghostscript determines viewing page orientation based
> on the dominant text orientation on the page. Sometimes, when the page has
> text in several orientations or has no text at all, wrong orientation can
> be selected."
>
> Any thoughts appreciated.
>
> Cheers
>
> Sean
>
> Sean Burke
> UNIX Systems Engineer
> Stryker S.A.
> Cité-Centre, Grand-rue 92
> 1820 Montreux
> Switzerland
>
> tel.: + 41 21 966 13 54
> mbl: +41 79 362 85 15
> sean.burke at stryker.com<mailto:sean.burke at stryker.com>
> www.stryker.eu<http://www.stryker.eu>
>
>
Before you tear your hair, try the gstoraster filter as a replacement of the
pdftoraster or pstoraster filters (it is a replacement for both). It has
been tested with various ghostscript versions.
See the links on www.cups.org:

http://www.cups.org/links.php?V207+Qgstoraster

Helge

_______________________________________________
cups mailing list
cups at easysw.com
http://lists.easysw.com/mailman/listinfo/cups

Stryker SA / Registered number: CH-550-0054924-4 / Registered office: Cité-Centre, Grand rue 90, 1820 Montreux / VAT number: . 291987

Les informations contenues dans ce courriel ainsi que les éventuelles pièces jointes sont exclusivement destinées à l’usage du ou des destinataires prévus. Ce courriel peut contenir des informations privilégiées ou confidentielles aux yeux de la loi ou le produit d’un travail soumis au secret professionnel de l’avocat ou autrement protégé contre la divulgation. Aucune renonciation à un quelconque privilège n’est envisagée. Si vous n’êtes pas le destinataire prévu, toute interception, communication, diffusion ou copie est strictement interdite et pourra donner lieu à des poursuites pénales ou civiles à votre encontre. Si vous avez reçu ce courriel par erreur, veuillez en avertir l’expéditeur par téléphone ou par retour de courriel et confirmer que vous détruirez ou effacerez de votre système toutes les exemplaires de ce message et des éventuelles pièces jointes.

The information contained in this email message and any attachments is exclusively for the use of the intended recipient(s).  It may contain legally privileged, confidential information or work product subject to attorney-client privilege or otherwise protected from disclosure.  No waiver of any privilege is intended.  If you are not the intended recipient, any interception, dissemination, distribution or copying is strictly prohibited, and may subject you to criminal and/or civil penalties.  If you have received this email message in error, please notify the sender by telephone or by email reply and confirm that you will destroy or delete all copies of the message and any attachments from your system.


More information about the cups mailing list