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.

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