Persits Software, Inc. Knowledge Base Articles

Form fields do not get printed

Problem Description

When printing a document with interactive form fields created by AspPDF, the fields do not get printed, although they do appear on screen.

Solution

By the default, all annotations and form fields have the Print flag cleared, which prevents them from being printed.

To make a form field printable, you must explicitly set the Print parameter to True when calling a field creation method, e.g.

Set button = page.CreatePushbutton("mybutton", "Submit", "x=10;y=500;Height=20;Width=100; Print=True", Nothing, Nothing)