Thanks for your answer, I still haven't found what I'm looking for exactly,
but it can help.

Is it possible to add XMP metadatas to a page ? What I want to do is add XMP
informations to pages when I create the PDF on the server side, so that I
can read theses metadatas on the client side (php) to print pages on
different printers according to their content.

Thanks a lot !

Vincent Caurier


2007/8/24, Bruno Lowagie <[EMAIL PROTECTED]>:
>
> Vincent CAURIER wrote:
> > hi,
> >
> > I'd like to put some XMP metadatas in an existing PDF file I generated.
> > Can I add XMP informations when I generate the document
>
> Yes, you can add XMP metadata to existing PDFs as well as
> to PDFs you create from scratch. That answers your question.
>
> The answer to the question how you can do this, can be
> found in Appendix F of the book. If you don't have the book,
> Google for XmpWriter and you'll find out how to create an
> Xmp metadata stream that can be used with the methods
> setXmpMetadata in either PdfStamper (existing PDFs) or
> PdfWriter (new PDFs).
>
> There are also some convenience methods that generate an
> XMP stream based on common PDF metadata. I wasn't aware of
> the fact that this wasn't sufficiently documented.
>
> br,
> Bruno
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/
>



-- 
Vincent CAURIER
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to