printing from iMac fails

Christoph Litauer litauer at uni-koblenz.de
Fri Nov 25 01:16:25 PST 2005


Dear cups-admins,

one of our users has a brandnew iMAC. If he starts a print job to our
cups server, nothing is printed.

I analysed the problem and found, that the final postscript code
contains variable definitions like:

-------------
%%BeginSetup
/CUPS_ENV_OPT
<<	% Environment variables and command line options
  /CHARSET (utf-8)
  /CONTENT_TYPE (application/pdf)
  /DEVICE_URI (file:/var/tmp/test.out)
  /LANG (de)
  /PRINTER (test)
  /SOFTWARE (CUPS/1.1)
  /USER (root)
  /CURRENT_DATE (Friday, 25. November 2005 09:41)
  /NOWDATE (2005-11-25 329)
  /NOWTIME (09:41:27)
  /HPwmSwitch (Off)
  /HPwmBrightness (Medium)
  /HPwmTextAngle (Deg45)
 ....
/com.apple.print.subTicket.page_format_ticket..d.com.apple.print.ticket.version
(10.4.0)
/com.apple.print.subTicket.page_format_ticket..d.com.apple.print.subTicket.paper_info_ticket..d.com.apple.print.ticket.version
(10.4.0)
/com.apple.print.subTicket.page_format_ticket..d.com.apple.print.subTicket.paper_info_ticket..d.com.apple.print.PageFormat.PMAdjustedPaperRect..a.0..n.
(-18.008336946550838)
/com.apple.print.subTicket.page_format_ticket..d.com.apple.print.subTicket.paper_info_ticket..d.com.apple.print.PageFormat.PMAdjustedPaperRect..a.1..n.
(-18.008336946550838)
/com.apple.print.subTicket.page_format_ticket..d.com.apple.print.subTicket.paper_info_ticket..d.com.apple.print.PageFormat.PMAdjustedPaperRect..a.2..n.
(824.38164688654945)
/com.apple.print.subTicket.page_format_ticket..d.com.apple.print.subTicket.paper_info_ticket..d.com.apple.print.PageFormat.PMAdjustedPaperRect..a.3..n.
(577.26724545332411)
......
---------------

As you can see, the environment definitions when sending the job to the
cups server contains very long variable names. The printer (HP Laserjet
4050) refuses to print that code complaining about a "limitcheck".

As a solution I inserted a filter, that deletes lines starting with
/com.apple.print, but this is an ugly workaround. Any other/better
solutions available? Is it possible to prevent the generation of
CUPS_ENV_OPT?

-- 
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