[Solved] Generating PDF/A
-
- Posts: 9
- Joined: Thu Aug 14 2008
[Solved] Generating PDF/A
We've been been using the PDF-Converter for quite a while now and are in the process of switching to version 3.02. We want to generate PDF/A so I added the SetImageOptions(hPdfPrt, 0x00000020) call just before the SetDefaultConfigEx() call. A PDF document is generated, but Acrobat Reader 8.x and 9.x have a problem showing the document. I've got two PDF files, one with SetImageOptions(hPdfPrt, 0x00000020) which has problems and also one with SetImageOptions(hPdfPrt, 0x00000000) which loads ok. Is there some other option conflicting with PDF/A generation? Whats going wrong?
-
- Posts: 9
- Joined: Thu Aug 14 2008
Re: Generating PDF/A
For more than a month I posted this problem and recieved not even a reply.
Do you have the same issue opening the documents?
Do you need more input to reproduce the problem?
Do you have the same issue opening the documents?
Do you need more input to reproduce the problem?
Re: Generating PDF/A
Hello
A couple of important notes about generating PDF/A documents:
- Fonts need to be embedded in the document
- IO_OUTPUTPDFA8 and IO_XMPMETADATA should be set in the ImageOptions for true PDF/A
Below is a simplified code snippet of what i mean
const IO_XMPMETADATA 0x00000010
const IO_OUTPUTPDFA8 0x00000020
SetImageOptions(hPdfPrt, IO_OUTPUTPDFA8 + IO_XMPMETADATA) //enable pdf/a
SetDefaultConfig(hPdfPrt) //apply printer settings
SetFileNameOptions (hPdfPrt, NoPrompt + UseFileName + EmbedFonts + MultilingualSupport) //embed fonts
Hope that helps
David
A couple of important notes about generating PDF/A documents:
- Fonts need to be embedded in the document
- IO_OUTPUTPDFA8 and IO_XMPMETADATA should be set in the ImageOptions for true PDF/A
Below is a simplified code snippet of what i mean
const IO_XMPMETADATA 0x00000010
const IO_OUTPUTPDFA8 0x00000020
SetImageOptions(hPdfPrt, IO_OUTPUTPDFA8 + IO_XMPMETADATA) //enable pdf/a
SetDefaultConfig(hPdfPrt) //apply printer settings
SetFileNameOptions (hPdfPrt, NoPrompt + UseFileName + EmbedFonts + MultilingualSupport) //embed fonts
Hope that helps
David
-
- Posts: 9
- Joined: Thu Aug 14 2008
Re: Generating PDF/A
Adding the EmbedFonts + MultilingualSupport did the trick.
Thank you,
Ger
Thank you,
Ger