You can create a PDF with only the form fields. There are two ways to do it:

- PdfReader.setPageContent(n, new byte[0]) for each page. Output it with
PdfStamper.

or

- open PdfStamper and draw in the over content a white rectangle covering
each page.


Best Regards,
Paulo Soares

> -----Original Message-----
> From: Rea, Ron [SMTP:[EMAIL PROTECTED]
> Sent: Wednesday, November 26, 2003 18:07
> To:   '[EMAIL PROTECTED]'
> Subject:      [iText-questions] Printing Form Fields Only
> 
> Is there a way to print form fields only, besides buying a full version of
> Acrobat?
>  
> We are using iText to build a PDF that contains form fields.  We then
> populate the form fields from the database.  We would like the user to be
> able to bring up the pdf for viewing, then print the form fields only onto
> a pre-printed form.  Any help would be greatly appreciated!
>  
> Thanks!


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to