> Use selectPages() and PdfStamper instead of PdfCopy.

Thanks for the advice!
If I try with PdfStamper (also with version 5.x) the acrobat reader
displays that the new destination pdf is a pdf/a but when i try to check
with pdf-tools.com validator it says:
Validating file "test.pdf" for conformance level pdfa-1a
XML line 9:20: Char 0x0 out of allowed range.
XML line 9:20: Premature end of data in tag Producer line 9.
XML line 9:20: Premature end of data in tag Description line 8.
XML line 9:20: Premature end of data in tag RDF line 3.
XML line 9:20: Premature end of data in tag xmpmeta line 2.
The document does not conform to the requested standard.
The document's meta data is either missing or inconsistent or corrupt.
Done.

in the source pdf/a (validates with pdf-tools.com validator) i have three
entries in the hashmap i get from getInfo() ModDate, Creator, Producer.
with getMetadata i get unreadable byte code.


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to