well... I need to do this programmatically (on lots of documents, server side).

The original documents will have an image in the background layer. Versions of each document will be sent from the server to either laser printers where the entire document will be printed (including the background) or to dox matrix printers to print on multi-part pre-printed forms. In the second case, I need to either remove the image from the document before printing or flip the 'background printing' bit. This will all be automated, so the printing options need to be completely specified in the document itself.

Can iText locate and delete a background layer from a PDF? Or can I manipulate the printing status of an existing layer?

Another option I thought of could be to create an entirely new PDF using the form field locations and properties from the original document. This will be tricky, as there are lots of formatting options that have been put into the original (font sizes, colors, etc...) that would need to be copied. This isn't my favorite way to go, but is my backup if nothing else works.

Thanks,

Carl


Bruno Lowagie (iText) wrote:
Carl H. Sayres wrote:
I want to be able to produce a version of this document where the image doesn't print.

I think the best solution would be to create the template
that way. Add the image to an OCG that doesn't print in
Acrobat.
br,
Bruno

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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