Link to home
Start Free TrialLog in
Avatar of mdoland
mdoland

asked on

What is wrong in my FDF and PDF file

I have a FDF and a PDF file that seems to be bad. In our Java based program that uses a PDF view from Qoppa. The sheet however contains no text.

Is there a way for me to find out if anything is broken in any of the files and in that case what is broken?
Avatar of Karl Heinz Kremer
Karl Heinz Kremer
Flag of United States of America image

There is no simple PDF validator, you could try different PDF consuming applications to see if you can get any meaningful error messages, but without a good understanding of the PDF file format, you would probably not be able to make much use of such errors. If you have access to Adobe Acrobat Pro, you could use the preflight tool to do a syntax check, but that would not work on the FDF file.
Can you attach the files to this question? I could take a look for you.
Avatar of mdoland
mdoland

ASKER

Thanks that would be great!. I have switched out sensitive info from the FDF-file, but it should be equivalent.
PDF-AND-FDF.zip
This wont work: A PDF file is not a text file, and you cannot edit it in a text editor. Your PDF file has a .txt extension, which suggests that that's what you tried to do, and the error message when I try to open the file as a PDF also points to that. In order to debug this problem, I would need a valid PDF file.
Avatar of mdoland

ASKER

Don't let the file extension trick you. The only thing I have edited is the information in the FDF and it seems to be mostly pritable characters. The fact that it is .txt is that it has been fetched from a database. It of course could be an issue with conversions from how it is stored. Could you see if it looks ok if you change the extension of the file?
Avatar of mdoland

ASKER

The error we have on it is that this file from 2007 cannot be displayed in a jPDFViewer from Qoppa.
ASKER CERTIFIED SOLUTION
Avatar of Karl Heinz Kremer
Karl Heinz Kremer
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mdoland

ASKER

Thanks alot for the help. I am on the way of solving it in another way now.