I am struggling to open an important pdf file I have on my ubuntu 12.04, which is probably created on MS Windows(assuming since it has some formatting issue). When I open the file using a PDF viewer it shows me this error: File type unknown (application/octet-stream) is not supported
I tried to open it using terminal, too. Here is the output:
➜ pdf: gnome-open mypdf.pdf
Error: May not be a PDF file (continuing anyway)
Error (30): Illegal character '{'
Error: PDF file is damaged - attempting to reconstruct xref table...
Error: Couldn't find trailer dictionary
Error: Couldn't read xref table
➜ pdf: evince my pdf.pdf
Error: May not be a PDF file (continuing anyway)
Error (30): Illegal character '{'
Error: PDF file is damaged - attempting to reconstruct xref table...
Error: Couldn't find trailer dictionary
Error: Couldn't read xref table
Can anybody help me with solving this issue and to fix this?
pdfinfo <file>.pdf
?