by VPEANONYM » Wed Aug 05, 2015 4:53 pm
Thank you very much,
i have installed the "sRGB_IEC61966-2-1" color profile.
I used the code bellow:
obj = CREATEOBJECT("VpeControl.VpeControl.70")
obj.OpenDoc()
obj.PDFALevel = 1
obj.AddColorProfile("GTS_PDFA1","sRGB_IEC61966-2-1","Custom","http://www.color.org","sRGB_IEC61966-2-1","sRGB_IEC61966-2-1")
WITH obj
.Write(1,1,5, 3, "Hello World!")
endwith
obj.WriteDoc("C:\Users\XXXX\Desktop\Templates\testPDFA.pdf")
But when i try to validate the PDF/A online, i get the info. below:
Validating file "testPDFA.pdf" for conformance level pdfa-1b
The value of the key N is 4 but must be 3.
A device-specific color space (DeviceRGB) without an appropriate output intent is used.
The document does not conform to the requested standard.
The document doesn't conform to the PDF reference (missing required entries, wrong value types, etc.).
The document contains device-specific color spaces.
Done.