Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Print problem - printing a different number of pages that is displayed

Avatar

Level 4

Hi There,

I've noticed a problem with a form.

The form has a flowed layout with two significant sections - one for data entry, one for printing.

The Print function occurs on the click event of a button on the form, and initiates the app.print function, without displaying the Print dialog.  It sets visibility to "visible" / "hidden" for the two sections (e.g. Data Entry = hidden, Print section = Visible).

The problem we have discovered is this:  When the data entry form is less pages than the print section, then only the number of pages in the data entry section is printed.

e.g. If the Data entry form has one page - and the printed form has two pages, then only the first page is printed.

Is this a bug in Acrobat, or is there a better workaround?

Thanks,

0 Replies

Avatar

Level 4

*bump* ... any thoughts??  Paul??  should I report this to go/wish?

Thanks

Avatar

Level 10

Hi,

Try moving the presence portion of the script to the mouseDown event, so that the data page(s) are hidden and the print page(s) are visible before the print command is executed.

Alternatively place the presence portion of the script in the prePrint and postPrint events.

Hope that helps,

N.