Bug in alternate pstops?

Christoph Litauer litauer at uni-koblenz.de
Wed May 24 04:46:27 PDT 2006


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

-- 
Regards
Christoph
________________________________________________________________________
Christoph Litauer                  litauer at uni-koblenz.de
Uni Koblenz, Computing Center,     http://www.uni-koblenz.de/~litauer
Postfach 201602, 56016 Koblenz     Fon: +49 261 287-1311, Fax: -100 1311
PGP-Fingerprint: F39C E314 2650 650D 8092 9514 3A56 FBD8 79E3 27B2




More information about the cups mailing list