On Sat, May 17, 2008 at 23:47:06 +0200, Rainer Dorsch wrote:
> 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:
>
> [EMAIL PROTECTED]:/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-

[...] 

> GPL Ghostscript 8.62: Unrecoverable error, exit code 1
> [EMAIL PROTECTED]:/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:
> 
> [EMAIL PROTECTED]:/tmp$ file DKB.pdf
> DKB.pdf: ISO-8859 text, with very long lines, with CRLF, LF line terminators

That does not seem to be a PDF file at all, but rather a plain text
file. The output for a PDF file should be something like this:
"PDF document, version 1.X"

How did you generate this file, or where does it come from?

> Any inside what could go wrong here is very welcome. Also ideas on how to get 
> better debug information ....

The output of

pdfinfo DKB.pdf

might help.

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to