I can confirm the error when printing from evince (on a freshly
installed ubuntu 7.10).

With a Foomatic-based printer driver, I get ghostscript errors in my CUPS 
error_log (if logging is set to debug)...
------------
D [25/Feb/2008:18:15:49 +0100] [Job 9] Error: /rangecheck in --xyshow--
D [25/Feb/2008:18:15:49 +0100] [Job 9] Operand stack:
D [25/Feb/2008:18:15:49 +0100] [Job 9] 
(\034\023\035\024\036\037\007\033\036\022-\021\027\022)   --nostringval--
D [25/Feb/2008:18:15:49 +0100] [Job 9] Execution stack:
D [25/Feb/2008:18:15:49 +0100] [Job 9] %interp_exit   .runexec2   
--nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --n
ostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   
1889   1   3   %oparray_pop   1888   1   3   %oparray_pop   1872
   1   3   %oparray_pop   1755   1   3   %oparray_pop   --nostringval--   
%errorexec_pop   .runexec2   --nostringval--   --nostringval--   --no
stringval--   2   %stopped_push   --nostringval--
D [25/Feb/2008:18:15:49 +0100] [Job 9] Dictionary stack:
D [25/Feb/2008:18:15:49 +0100] [Job 9] --dict:1161/1684(ro)(G)--   
--dict:1/20(G)--   --dict:113/200(L)--
D [25/Feb/2008:18:15:49 +0100] [Job 9] Current allocation mode is local
D [25/Feb/2008:18:15:49 +0100] [Job 9] Last OS error: 2
D [25/Feb/2008:18:15:49 +0100] [Job 9] GPL Ghostscript SVN PRE-RELEASE 8.61: 
Unrecoverable error, exit code 1
------------
...or, with the CUPS+Gutenprint driver, the printer (a HP LaserJet 4M via 
JetDirect) prints a postscript error: 
  ERROR: rangecheck
  OFFENDING COMMAND: xyshow

Looks like somewhere in the print stack, the xyshow postscript command is 
generated improperly. My guess would be that evince (or a library used by 
evince) generates the corrupt postscript code before submitting it to CUPS.
After a bit of googling, it seems to be the same/similar bug as described here: 
http://lists.cairographics.org/archives/cairo/2007-November/012147.html 

KPDF prints the same document just fine.

My estimation is that this bug has a moderate impact on a large number
of Ubuntu users, given that it effectively prohibits printing of some
PDF documents via the default PDF viewer. Therefore, it should have at
least "high" importance. At least to me, it does have ;-)

-- 
Evince print fails with Postscript driver
https://bugs.launchpad.net/bugs/151145
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to