Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
just wanted to know whether there is any PDF reader which can read
atleast a part of the document even though there is some error in opening
the entire document.
i downloaded few PDF file from a particular website. when i find the file-type
by using the command "file *.pdf", it says PDF Document, version 1.2
etc., but unable to open using xpdf, acroread and gv.
using xpdf it gives an the following error :
Error (0): PDF file is damaged - attempting to reconstruct xref table...
Error: Top-level pages object is wrong type (null)
Error: Couldn't read page catalog
using acroread it gives the following error :
There was an error opening this document. There was a problem reading this document (107).
using gv it gives the following error :
**** This file has a corrupted %%EOF marker, or garbage after the %%EOF.
GNU Ghostscript 6.52: Unrecoverable error, exit code 1
Error: /rangecheck in --readline--
5089797 5089797 () (\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00 0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00 0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00 0\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\00 0\000\000\000\000\000\000\000\000\
i tried re-downloading the file using "wget" and it downloads the entire file and
the size of the file on the server and that on my PC are the same. but i wanted
to know if there is any tool using which atleast a part of the PDF can be
read even though the file is corrupted. in my case, it looks as if the file
at the source location itself is corrupted.
I'm not sure how well this may work, but you can try some of the pdf conversion tools (pdf2ps, pdftotext). Try typing 'pdf' in a terminal window, then hitting the tab key a few times to list all the commands that start with pdf***. Then check the man page for each of those. Maybe one of them will give you something readable.