LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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



Reply
 
Search this Thread
Old 08-02-2004, 07:14 AM   #1
majalee
Member
 
Registered: Jul 2004
Location: India
Distribution: Ubuntu / OpenSuse
Posts: 54

Rep: Reputation: 15
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
 
Old 08-02-2004, 07:41 AM   #2
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
sounds like the pdf file is corrupt... try re-downloading the file...
 
Old 08-02-2004, 07:45 AM   #3
majalee
Member
 
Registered: Jul 2004
Location: India
Distribution: Ubuntu / OpenSuse
Posts: 54

Original Poster
Rep: Reputation: 15
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
 
Old 08-02-2004, 08:11 AM   #4
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
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...
 
Old 08-03-2004, 01:35 AM   #5
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
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
 
Old 08-03-2004, 01:44 PM   #6
shengchieh
Member
 
Registered: Jul 2004
Location: Palo Alto, CA
Distribution: #! Korora
Posts: 472

Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Word Document to PDF liguorir Linux - Software 12 05-14-2013 12:38 PM
How to digitally sign a pdf document ssaigol Linux - Software 2 05-21-2005 05:15 AM
how to open kword document in microsoft sofasurfer Linux - Software 4 01-01-2004 01:07 PM
How can I edit a pdf document? geraldomanaus Linux - Software 5 04-22-2003 11:28 AM
open document in console arlothemoo Linux - General 7 02-04-2003 01:37 AM


All times are GMT -5. The time now is 04:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration