I have an installation of acroread 9.1.3 on both Debian Testing and Ubuntu Jaunty. I have several Xerox Phaser printers available over the network to print to, but trying to print from acroread to these printers often either crashes the reader or emits postscript which the ghostscript backend is unable to handle. I can print the same pdf files to these printers using an alternative document viewer (evince, okular, or kpdf), but not with acroread.
Printing to a Ricoh printer works without these errors.
Printing to a Phaser 8560 results in the application crashing and disappearing.
Printing to a Phaser 4510 results in errors from the cups daemon. Often the first page of the document will print, but then the rest will fail with an error message from the ps2pdf filter like this (the operand stack is not always empty like this example):
D [11/Sep/2009:13:45:34 -0500] [Job 154574] Error: /undefined in XSTTDM+Arial-ItalicMT*1
D [11/Sep/2009:13:45:34 -0500] [Job 154574] Operand stack:
D [11/Sep/2009:13:45:34 -0500] [Job 154574]
D [11/Sep/2009:13:45:34 -0500] [Job 154574] Execution stack:
D [11/Sep/2009:13:45:34 -0500] [Job 154574] %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1862 1 3 %oparray_pop 1861 1 3 %oparray_pop 1845 1 3 %oparray_pop 1739 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval--
D [11/Sep/2009:13:45:34 -0500] [Job 154574] Dictionary stack:
D [11/Sep/2009:13:45:34 -0500] [Job 154574] --dict:1158/1684(ro)(G)-- --dict:1/20(G)-- --dict:103/200(L)-- --dict:57/75(L)-- --dict:211/313(L)-- --dict:72/140(L)-- --dict:5/10(G)-- --dict:5/10(L)-- --dict:5/50(ro)(G)-- --dict:56/71(L)--
D [11/Sep/2009:13:45:34 -0500] [Job 154574] Current allocation mode is local
D [11/Sep/2009:13:45:34 -0500] [Job 154574] Last OS error: 2
D [11/Sep/2009:13:45:34 -0500] [Job 154574] GPL Ghostscript 8.64: Unrecoverable error, exit code 1
D [11/Sep/2009:13:45:34 -0500] [Job 154574] cat: write error: Broken pipe
D [11/Sep/2009:13:45:34 -0500] [Job 154574] cat: write error: Broken pipe
E [11/Sep/2009:13:45:34 -0500] PID 11910 (/usr/lib/cups/filter/pstopdf) stopped with status 1!
I get the same error running ps2pdf manually on the output of acroread's "print to file" option:
Error: /undefined in XSTTDM+Arial-ItalicMT*1
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1862 1 3 %oparray_pop 1861 1 3 %oparray_pop 1845 1 3 %oparray_pop 1739 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval--
Dictionary stack:
--dict:1154/1684(ro)(G)-- --dict:1/20(G)-- --dict:104/200(L)-- --dict:57/75(L)-- --dict:211/313(L)-- --dict:72/140(L)-- --dict:5/10(G)-- --dict:5/10(L)-- --dict:5/50(ro)(G)-- --dict:56/71(L)--
Current allocation mode is local
Last OS error: 2
Current file position is 267811
GPL Ghostscript 8.70: Unrecoverable error, exit code 1
Any suggestions?
Hello,
You can try the following things at your end.
1) Create a device independent ps file by choosing "Custom" in the printer Name dropdown and checking print to file option. Try sending this ps file to the Phaser 4510 printer form the commandline using lp command. Please let us know if this prints correctly.
2) If Phaser 4510 and 8560 printers are configured with ppd files other than provided by CUPS, please mail me the respective ppd files.
3) Please send the sample pdf you are trying to print and also the resultant ps file which is giving you the error on 4510.
Regards,
Rishi
Sorry, my email got cut off. I'll post it again...
> 1) Create a device independent ps file by choosing "Custom" in the
> printer Name dropdown and checking print to file option. Try sending
> this ps file to the Phaser 4510 printer form the commandline using lp
> command. Please let us know if this prints correctly.
Yes, this prints correctly.
> 2) If Phaser 4510 and 8560 printers are configured with ppd files
> other than provided by CUPS, please mail me the respective ppd files.
I'm using ppd files from the Xerox website. See attached ppd files.
> 3) Please send the sample pdf you are trying to print and also the
> resultant ps file which is giving you the error on 4510.
See attached pdf and ps file.
I've switched to using the cups/foomatic ppd files for these printers and they
seem to be working.
I'm getting a similar error using Acrobat 9.1.3 Reader under Windows.
Whenever I print a PDF to a Xerox Phaser 7760 (PS) I get the typical 3 line (ERROR:, OFFENDING COMMAND:, STACK:) error. Now I've seen this many times in the past with users printing PDF's using a PS driver and my simple solution is to just have them print the PDF using a PCL driver but in this case, Xerox's PCL driver is very dated and doesn't offer the capabilities and options their PS driver offers.
As a simple test, I downloaded FoxIt Reader, opened my PDF, and it printed fine using the postscript driver.
Note: the PDF was created from Word 2007 using Adobe Acrobat 9.1.3
-Brett
A follow-up: switching to the ppd files provided by the cups project has definitely helped reduce the problem, however it has not completely stopped it and not all of our printers have a specific ppd file available from cups. Considering that other pdf viewers don't have the same problems printing I'm led to conclude that there are some significant bugs in acroread's printing routines.
I've attached the ppd file for the Xerox Phaser 8560 (from Xerox, not available from cups) which seems to crash the application regardless of the document I'm printing.
North America
Europe, Middle East and Africa
Asia Pacific