Loading...

Twain to PDF vs PDF/A

Support for GdPicture Light Imaging Toolkit and GdPicture Pro Imaging ActiveX/SDK.

Twain to PDF vs PDF/A

Postby cjmt » Thu Jan 14, 2010 2:23 pm

I’m using the TwainPdfStart / CreateImageFromTwain() / TwainAddGdPictureImageToPdf ()… / TwainPDFStop() sequence and all works very well except for the fact that I always get a PDF/A file when I open the file in Acrobat Reader.

I’ve tried Switching to TwainPdfStartEx but stil the same.

How can I create a normal PDF file from Twain (not PDF/A) ?

Regards.
CJMT
cjmt
 
Posts: 21
Joined: Wed Jan 07, 2009 6:59 pm

Re: Twain to PDF vs PDF/A

Postby Loïc » Fri Jan 15, 2010 3:55 pm

Hi,

TwainPdfStart & TwainPdfStartEx methods only create PDF/A.

Are you sure than PDF/A format is a problem for you ? PDF/A is just a kind of certified PDF. This takes no more disk space.

With best regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4437
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Twain to PDF vs PDF/A

Postby cjmt » Sat Jan 16, 2010 5:49 pm

Hi Loic,

It is not a matter of whether it takes more space or not, it is a matter of being able to choose, me as a developer and ultimately my end-users. I don't think imposing anything - albeit the PDF/A a certified format - is a good strategy... so please advise on how can I create a non PDF/A file with the library.

Thanks.
Regards.
CJMT
cjmt
 
Posts: 21
Joined: Wed Jan 07, 2009 6:59 pm

Re: Twain to PDF vs PDF/A

Postby Loïc » Sat Jan 16, 2010 7:15 pm

Hi,

To be honest I don't understand your position and I think you are making a bad choice. PDF/A is just a kind of way to make PDF meeting PDF specifications at 100%. Because GdPicture toolkits are making 100% PDF (by the same way PDF/A) compliant documents, we add a flag at the beginning of the file giving this information.

But if you really want to remove the PDF/A compliant information from the generated document you just have to replace the %âãÏÓ string by 5 spaces at the beginning of the document.

With best regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4437
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Twain to PDF vs PDF/A

Postby cjmt » Sun Jan 17, 2010 1:09 am

Could you provide a sample code to do this or perhaps just add a flag within the toolkit that would make this option possible? I guess it could be useful for several other customers of yours.

Thank you.
Cjmt
cjmt
 
Posts: 21
Joined: Wed Jan 07, 2009 6:59 pm

Re: Twain to PDF vs PDF/A

Postby Tom Moran » Sun Jan 17, 2010 4:41 am

Hi:

I suppose a work around would be to scan your document as a multipage TIFF. Once completed you could convert the document to either a straight PDF, using SaveAsPDFEx, or a PDF/A, using SaveAsPDFAEx.

Tom
Tom Moran
 
Posts: 102
Joined: Thu May 24, 2007 9:41 am
Location: Phoenix, Arizona

Re: Twain to PDF vs PDF/A

Postby cjmt » Sun Jan 17, 2010 7:56 pm

Hey Tom,
Excellent suggestion, even though speed of the whole process is obviously affected by the duplicate effort, I'll give it a try.
Thanks.

CJMT
cjmt
 
Posts: 21
Joined: Wed Jan 07, 2009 6:59 pm

Re: Twain to PDF vs PDF/A

Postby Loïc » Sun Jan 17, 2010 8:11 pm

Hi there,

You have another faster solution consisting on creating a PDF using the PdfNewPdfEx() method which no flags PDF as PDF/A compliant.

See: http://guides.gdpicture.com/v5/gdpictur ... PdfEx.html

With best regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4437
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Twain to PDF vs PDF/A

Postby cjmt » Mon Jan 18, 2010 11:21 am

Hi Loic,

That looks like a more direct workaround, I'll give it a try.
Do you think you could implement a "show/noshow" PDF/A compatibility flag directly inside the twain methods of the toolkit?

Many thanks for your help.
Regards.
Chris.
cjmt
 
Posts: 21
Joined: Wed Jan 07, 2009 6:59 pm


Return to GdPicture [Pro] ActiveX

Who is online

Users browsing this forum: No registered users and 1 guest