[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#332273: gs-esp fails to print certain PDF file with Adobe Reader while it works with KPDF



Package: gs-esp
Version: 7.07.1-9
Severity: normal


When trying to print a certain PDF file (which I will try to send as an answer to 
this bug report) with

acroread 7.0-0.9 0 from ftp://ftp.nerim.net

and 

gs-esp 7.07.1-9

I get the following error message:

gs -q -dSAFER -dPARANOIDSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite 
-sOutputFile=$out{/home-teamix/print.pdf} -sPAPERSIZE=a4 -c .setpdfwrite -f 
'/tmp/Acro000UFVDwn' : execution failed with message:

Error: /undefinedfilenam in (/tmp/Acro000UFVDwn Operand stack: Execution 
stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 
2 %stop ed_push --nostringval-- --nostringval-- --nostringval-- false 1 
%stopped_push --nostringval-- --nostringval-- D ctionary stack: 
--dict:1054/1417(ro)(G)-- --dict:0/20(G)-- --dict:68/200(L)-- Current 
allocation mode is local Last OS e ror: 2 ESP Ghostscript 7.07. : 
Unrecoverable error, exit code 1

When trying to print the same PDF file with KPDF instead it works okay.

The bugreport 

http://forums.xandros.com/viewtopic.php?t=15887

seems to indicate that this is solved by installing cups-pdf. I tried
this but it didn't help.

The bugreport

http://www.cups.org/espgs/str.php?L230+P0+S0+C0+I40+E1+Q

seems to indicate that this problem can be solved with a newer gs-esp
release.

Thus I tried with a backport of gs-esp 8+8.15rc4.dfsg.1-2 for sarge
(made by Norbert Tretkowski from backports.org).

Using this backport with Adobe Reader as of above gives me a different
error message:

gs -q -dSAFER -dPARANOIDSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite 
-sOutputFile=$out{/home-teamix/print.pdf} -sPAPERSIZE=a4 -c .setpdfwrite -f 
'/tmp/Acro0004usKmA' : execution failed with message:

Error: /undefine in 3993,00000 Operand stack: Execution stack: 
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 
%stop ed_push --nostringval-- --nostringval-- --nostringval-- false 1 
%stopped_push 1 3 %oparray_pop 1 3 %opa ray_pop 1 3 %oparray_pop 1 3 
%oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 % 
topped_push --nostringval-- Dictionary stack: --dict:1121/1686(ro)(G)-- 
--dict:0/20(G)-- --dict:87/200(L)-- --dict:3 /89(L)-- --dict:87/162(ro)(L)-- 
--dict:64/78(ro)(L)-- Current allocation mode is local Last OS error: 2 
Current file positi n is 65122 ESP Ghostscript 815.0 : Unrecoverable error, 
exit code 1

Strangely enough on my own laptop running a mixture of etch and sid, upgrading
gs-esp from 7.07.1-9 to 8.15-4 once this fixed the problem. It was also fixed 
when I downgraded to 7.07.1-9 again. I tried to find differences in the setup
that could cause that behaviour, but I didn't find any. 

Today I tested again and the problem reappeared. I again updated to gs 
8+8.15rc4.dfsg.1-2 (from sid) and then the problem did not disappear as before,
instead it showed exactly the same error message with "/undefinedfilenam" 
as before I upgraded to the newer gs-esp.

I have no clue as to what is going on there. I can do further testing and
report further configuration details on request.

Regards,
Martin Steigerwald - team(ix) GmbH - http://www.teamix.de - 


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.13.2-dell-dimension
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

Versions of packages gs-esp depends on:
ii  gs-common           0.3.7                Common files for different Ghostsc
ii  libc6               2.3.2.ds1-22         GNU C Library: Shared libraries an
ii  libcupsimage2       1.1.23-10            Common UNIX Printing System(tm) - 
ii  libcupsys2-gnutls10 1.1.23-10            Common UNIX Printing System(tm) - 
ii  libgimpprint1       4.2.7-10             The Gimp-Print printer driver libr
ii  libglib2.0-0        2.6.4-1              The GLib library of C routines
ii  libjpeg62           6b-10                The Independent JPEG Group's JPEG 
ii  libpaper1           1.1.14-3             Library for handling paper charact
ii  libpng12-0          1.2.8rel-1           PNG library - runtime
ii  libstdc++5          1:3.3.5-13           The GNU Standard C++ Library v3
ii  libtiff4            3.7.2-3              Tag Image File Format (TIFF) libra
ii  libx11-6            6.8.2.dfsg.1-5sarge1 X Window System protocol client li
ii  libxext6            6.8.2.dfsg.1-5sarge1 X Window System miscellaneous exte
ii  libxt6              6.8.2.dfsg.1-5sarge1 X Toolkit Intrinsics
ii  xlibs               6.8.2.dfsg.1-5sarge1 X Window System client libraries m
ii  zlib1g              1:1.2.2-4.sarge.2    compression library - runtime

-- no debconf information




Reply to: