Bug in alternate pstops?
Helge Blischke
h.blischke at srz.de
Wed May 24 05:12:26 PDT 2006
Christoph Litauer wrote:
> Hi,
>
> I am using cups 1.1.23 with the alternate pstops filter. There seems to
> be a bug, when printing webpages with Mozilla that contain brackets in
> the document title. The page I printed contained brackets in the
> document title. Mozillas postscript code is
> http://www.uni-koblenz.de/~litauer/bracket1.ps. You can print this (raw)
> code on every postscript printer. If I print to a (cups) postscript
> printer, printing fails with a postscript error, because the /job-name
> variable contains an unescaped opening bracket. The resulting document
> is http://www.uni-koblenz.de/~litauer/bracket2.ps
>
> The problematic section:
>
> /CUPS_ENV_OPT
> << % Environment variables and command line options
> /CHARSET (iso-8859-1)
> /CONTENT_TYPE (application/postscript)
> /DEVICE_URI (file:/var/tmp/test.out)
> /LANG (en)
> /PRINTER (test)
> /SOFTWARE (CUPS/1.1)
> /USER (root)
> /CURRENT_DATE (Wednesday, 24. May 2006 13:28)
> /NOWDATE (2006-05-24 144)
> /NOWTIME (13:28:55)
> /clientname (termserv)
> /smbpages (11)
> /job-originating-user-name (litauer)
> /job-name (eBay: DENON AVC A11XV HIGH-END VERSTÄRKER 20 Mon.Garantie
> (Ar...)
>
>>>def
>
>
Well, the source PS file contained one unpaired opening paranthesis but this
*is* already escaped. The filter escaped it one more, resulting in "\\("
instead of "\(".
I'll post a fixed version until monday. OK?
Helge
--
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de
More information about the cups
mailing list