Expand my Community achievements bar.

Suppress printing the last two pages

Avatar

Level 1

I have created a form that has the last two pages of the form screen only visible. Saved the form and printed it but the last two pages print blank. Is there any way to suppress printing the last two blank pages. If I was the only person using the form I just wouldn't print the last two pages but this is going into a production environment where seeing the last two pages is important but printing the last two pages isn't.

Thanks.

2 Replies

Avatar

Former Community Member

Take a look at the script produced by the "Print Button".

xfa.host.print(1, "0", (xfa.host.numPages -1).toString(), 0, 0, 0, 0, 0);

The doc for print is available at http://livedocs.adobe.com/livecycle/8.2/acrobat_designer/001735.html

Steve

Avatar

Level 1

Tried the script and worked very well. Thanks.