Using the HTML to PDF converter, we are able to get the html converted to pdf just fine. We are required by law to have these PDFs stored in PDF/A-b1 approved standard.
Using the following code:
var result = HtmlToPdf.ConvertUrl(fileToConvert, destination);
result.PdfDocument.Standard = PdfStandard.PDF_A;
result.PdfDocument.Save(destination);
When we use a PDF/A validation program (or you can google for an online one) they all complain that my PDF is not valid for PDF/A-b1.
This is the error message we get:
Quote:Validating file "425.PDF" for conformance level pdfa-1b
The key S has a value Transparency which is prohibited. (308)
A real value is larger than 2^15-1. (271)
The document does not conform to the requested standard.
The document contains transparency.
Done.
Is this a bug? Is there some way to turn off transparency to make this valid?
We can not buy license for this product unless this problem is solved. The HTML to PDF component is the last piece missing before we release a product. Unless we find a quick solution to this problem here we have to look into another html to pdf converter.