PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sat Jul 27, 2024 10:39 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Dec 27, 2010 12:42 pm 
Offline

Joined: Wed Dec 22, 2010 8:05 am
Posts: 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.


Top
 Profile  
Reply with quote  
PostPosted: Mon Dec 27, 2010 6:30 pm 
Offline
Supporter
User avatar

Joined: Thu May 27, 2010 7:40 pm
Posts: 59
Location: New Hampshire, USA
Zip the pdf file (and also generate and include an MDDL file if possible) and then you should be able to attach it.

-Jeff


Top
 Profile  
Reply with quote  
PostPosted: Sat Jan 01, 2011 8:29 pm 
Offline
PDFsharp Expert
User avatar

Joined: Wed Dec 09, 2009 8:59 am
Posts: 345
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.

_________________
Öhmesh Volta ("() => true")
PDFsharp Team Holiday Substitute


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 85 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group