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

Set Page Scaling Default to "Fit to Printable Area" for Web PDF

Level 1
Level 1

Is it possible through a setting or script to set the Page Scaling Default to "Fit to Printable Area" when using the File -> Print  menu?  We have users printing the PDF through the website and we need them to print the document with the "Fit to Printable Area" setting.

Please tell me there is a script for this, otherwise we will have to replace the PDF and move it to a web form.

1 Reply
Level 7
Level 7

I don't think it's possible through the File >> Print menu, but you could do it through a print button on the form itself. The standard print button has a script on it:, "0", ( -1).toString(), 0, 1, 0, 0, 0);

Parameter 5 (set to 1 on the default button) shrinks the page to fit. For a complete breakdown of all 8 parameters, you can search the LiveCycle Designer help for print. Each parameter is explained.