strange gs problem: unicode encoding problem with pdf (?)
Hello,
I have a pdf file here which
- Displays perfectly with kpdf
- Does not print from kpdf. This is because gs fails with this file:
rd@dell:/tmp$ gs DKB.pdf
GPL Ghostscript 8.62 (2008-02-29)
Copyright (C) 2008 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Error: /syntaxerror in -file-
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval--
2 %stopped_push --nostringval-- --nostringval-- --nostringval--
false 1 %stopped_push 1905 1 3 %oparray_pop 1904 1
3 %oparray_pop 1888 1 3 %oparray_pop 1771 1
3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval--
2 %stopped_push
Dictionary stack:
--dict:1151/1684(ro)(G)-- --dict:0/20(G)-- --dict:92/200(L)--
Current allocation mode is local
Current file position is 6
GPL Ghostscript 8.62: Unrecoverable error, exit code 1
rd@dell:/tmp$
(I do not want to post the file, because it contains credit card data).
- What surprises me is that acroread complains that the file is an unsupported
type or contains errors.
- since the file works on windows version of acrobat (downloaded from the same
source), I though it has something todo with the character encoding:
rd@dell:/tmp$ file DKB.pdf
DKB.pdf: ISO-8859 text, with very long lines, with CRLF, LF line terminators
rd@dell:/tmp$
Any inside what could go wrong here is very welcome. Also ideas on how to get
better debug information ....
Many thanks,
Rainer
Reply to: