Linux - Software This 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. |
Notices |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-02-2004, 07:14 AM
|
#1
|
Member
Registered: Jul 2004
Location: India
Distribution: Ubuntu / OpenSuse
Posts: 54
Rep:
|
Unable to open PDF document !!
hi,
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--
Operand stack:
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\
any suggestions are welcome..
thanks,
majalee
|
|
|
08-02-2004, 07:41 AM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
sounds like the pdf file is corrupt... try re-downloading the file...
|
|
|
08-02-2004, 07:45 AM
|
#3
|
Member
Registered: Jul 2004
Location: India
Distribution: Ubuntu / OpenSuse
Posts: 54
Original Poster
Rep:
|
tried to re-download
hi,
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.
regards,
majalee
|
|
|
08-02-2004, 08:11 AM
|
#4
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
oh, okay, i get it... hmmm... well, personally i don't know of a tool or method to do that...
i'm sure somebody else does, though... hang in there...
|
|
|
08-03-2004, 01:35 AM
|
#5
|
Member
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799
Rep:
|
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.
Enjoy!
--- Cerbere
|
|
|
08-03-2004, 01:44 PM
|
#6
|
Member
Registered: Jul 2004
Location: Palo Alto, CA
Distribution: #! Korora
Posts: 472
Rep:
|
Again, conversion might do the trick. Another way: see
http://wheel.compose.cs.cmu.edu:8001.../browse/objweb
Also I think Oo might be able to something.
Sheng-Chieh
|
|
|
All times are GMT -5. The time now is 08:55 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|