troubles generating PDF/A format

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
Lambda
Posts: 5
Joined: Thu Jul 03 2008

troubles generating PDF/A format

Post by Lambda »

I have a problem with the Amyuni Common Driver Interface Control (cdintf300.dll version 3.0.2.0)
I need to obtain a PDF/A -1B document via Amyuni PDF control, but the document validation via the PDF-loglife (SEAL Systems) tool, shows the
“Both DeviceCMYK and DeviceRGB color spaces are in document” error.

Image

Besides, the Amyuni control’s DLL interface instead gets the same result.
I tried IO_OUTPUTPDFA as well.

This is the VB6 code I wrote, which calls the Amyuni control’s ActiveX interface:
-------------------

Public Const NoPrompt = &H1& ' do not prompt for file name
Public Const UseFileName = &H2& ' use file name set by SetDefaultFileName else use document name
Public Const MultilingualSupport = &H80& ' activate multi-lingual support
Public Const EmbedFonts = &H10& ' embed fonts used in the input document
Public Const EmbedStandardFonts = &H200000 ' embed standard fonts such as Arial, Times, ...
Public Const EmbedLicensedFonts = &H400000 ' embed fonts requiring a license

Set objCdIntf = New CDIntfEx.CDIntfEx

objCdIntf.DriverInit "DYPRTPDF"
objCdIntf.EnablePrinter "UserName", "Usercode"

objCdIntf.DefaultDirectory = App.Path
objCdIntf.DefaultFileName = App.Path & "\Dest.pdf"
objCdIntf.FileNameOptionsEx = NoPrompt + UseFileName + MultilingualSupport Or EmbedFonts + EmbedStandardFonts + EmbedLicensedFonts

objCdIntf.FontEmbedding = True
objCdIntf.ImageOptions = IO_XMPMETADATA + IO_OUTPUTPDFA8
objCdIntf.SetDefaultConfig

For Each objPrinter In Printers
If objPrinter.DeviceName = "DYPRTPDF" Then
Set Printer = objPrinter

' report using Printer object
Printer.ScaleMode = vbInches
PrintRoutine Printer
Printer.EndDoc

Exit For
End If
Next

objCdIntf.DriverEnd
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Re: troubles generating PDF/A format

Post by Joan »

Hello,

You will need to send us the pdf file to check it. I suggest that you sent the PDF file to Support@amyuni.com along with some explanation on which tool you are using to validate it and what you are getting as result.

Our developers will then check your file and see if this issue is resolved in the newer version of the driver or not.

Hope this helps.
Custom Brand the Amyuni PDF Printer Driver http://www.amyuni.com/en/developer/branding/index.html

Amyuni PDF Converter tested for true PDF performance. View results - http://www.amyuni.com/benchmark
Post Reply