You need to call field.setFlags(PdfAnnotation.FLAGS_PRINT).
I updated the C# sample code. See <http://www.ujihara.jp/iTextdotNET/examples/AcroForm.cs> and the result, <http://www.ujihara.jp/iTextdotNET/examples/AcroForm-Printable.pdf>.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I have made a form with checkboxes following the example file: AcroForm.cs
The strange thing is that when I try to print a gengerated PDF document it doesn't print the checkboxes.
Is it a bug, or am I the only one?
Any help appreciated!
You need to call field.setFlags(PdfAnnotation.FLAGS_PRINT).
I updated the C# sample code. See <http://www.ujihara.jp/iTextdotNET/examples/AcroForm.cs> and the result, <http://www.ujihara.jp/iTextdotNET/examples/AcroForm-Printable.pdf>.