PDFsharp & MigraDoc Foundation
https://forum.pdfsharp.net/

Error Occured while opening PDF file version 1.2
https://forum.pdfsharp.net/viewtopic.php?f=2&t=1485
Page 1 of 1

Author:  Gaurav Dixit [ Mon Dec 27, 2010 12:42 pm ]
Post subject:  Error Occured while opening PDF file version 1.2

Hello,

I am in big trouble here, i am using PDF sharp version 1.31 library in one of my project
everything is just working fine, suddenly its start getting error while opening PDF files
using PDFReader.open()

errors as follows:-

- token 001 was not expected
- token 5 was not expected
- token n was not expected

PDF files are scanned in Grayscale and PDF version is 1.2(supported by PDFSharp)

The one thing surprised me is only some files encountered with errors, others just works perfect

i have tried attaching some sample files on forum here but cant able to do so.

Please tell me the possible causes.

Please help me.


Thanks
Gaurav Dixit
software Developer,
Pune,India.

Author:  jeffhare [ Mon Dec 27, 2010 6:30 pm ]
Post subject:  Re: Error Occured while opening PDF file version 1.2

Zip the pdf file (and also generate and include an MDDL file if possible) and then you should be able to attach it.

-Jeff

Author:  () => true [ Sat Jan 01, 2011 8:29 pm ]
Post subject:  Re: Error Occured while opening PDF file version 1.2

Gaurav Dixit wrote:
and PDF version is 1.2(supported by PDFSharp)

Version 1.2 doesn't mean much. Files created by 3rd party tools (not from Adobe) do not always follow Adobe's recommendations.
Without PDF files and without knowing the name of the tool we cannot investigate that problem.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/