These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Need to force printing on 11x14 format

ROSFR11
Registered: Dec 23 2009
Posts: 27
Answered

Hi there,

I need to add a button to print my form on 11x14 paper. I've found a PDF on the web with this kind of button. Unfortunatly this one is password protected and I am not able to check the code.

Your help will be appreciated.

Have a nice day

My Product Information:
LiveCycle Designer, Windows
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
There is an option called "Choose the paper tray by the PDF page size" in the print dialog.
If it is checked, the printer prints the original size of your PDF.
If the paper format in the printers tray(s) don't match, the printer asks the user to put in paper into the bypass tray.

As this function basically is not available for the LiveCycle print method.
You need the Acrobat JavaScript for this.
This has to be modified a bit to work.

From:
//Acrobat JSpp = getPrintParams();fv = pp.constants.flagValues;pp.flags |= (fv.setPageSize);this.print(pp);

To:
//Modified JS for LiveCycle Designervar MyDoc = event.target; var pp = MyDoc.getPrintParams();var fv = pp.constants.flagValues;pp.flags |= (fv.setPageSize);MyDoc.print(pp);

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

ROSFR11
Registered: Dec 23 2009
Posts: 27
Thanks a lot and Happy new year