PDF Printing Issues

Set Printer Options for a PDF Form in Adobe Acrobat

Huda QurayshiHuda Qurayshi Nov 18, 2026 870 views

Question details

Set up a PDF form so users can print it with predefined printer and page options.

Set Printer Options for a PDF Form in Adobe Acrobat
Product
Adobe Acrobat PDF forms
Device & OS
not provided
Scenario
A form should print to a designated printer with a specific tray, paper size, paper type, color mode, and other settings without requiring users to select each option.
Observed behavior
The desired result is a convenient print action that applies supported settings, with printer-specific options handled by the operating system and printer driver.
Before you start

Open the form in an Acrobat edition that can edit PDF form fields, and confirm that the designated printer and its driver are installed. Check the printer's available tray, paper, and color options in its driver settings.

Solution 1Recommended

Create an Acrobat form button with a print action

Use a form button and Acrobat JavaScript to apply supported document print parameters and start printing.

Acrobat's printParams object controls supported print options, but it cannot reliably override every tray, paper type, color, or other hardware setting. Availability also depends on the PDF viewer, security settings, operating system, and printer driver.

1
Add a button

Open the PDF in Acrobat and choose Prepare a form. Add a button to the form and give it a label such as Print.

2
Add a JavaScript action

Open the button's Properties, select the Actions tab, and set the trigger to Mouse Up. Choose Run a JavaScript as the action and click Add.

3
Enter print parameters

In the JavaScript editor, enter: var pp = this.getPrintParams(); pp.firstPage = 0; pp.lastPage = 0; this.print(pp); This example prints the first page; page indexes start at zero. Adjust the range and consult Acrobat's PrintParams documentation for other supported properties.

4
Test the saved form

Save the PDF, exit form editing, and click the Print button. Check the print dialog and printed output; use File > Print if the button or a required setting does not work.

Create an Acrobat form button with a print action
Automatic printing is not guaranteed: The example may show a print dialog and does not select a printer tray or color mode. Silent printing and some other actions can be restricted by Acrobat security settings.
Free Microsoft Office alternative

Print PDF Forms and Work With Office Files in WPS Office

WPS Office is a free, lightweight alternative for working with PDFs and Office documents in a familiar interface. Open a PDF and use its print dialog to select available printer options; it does not replace Acrobat's form-button JavaScript configuration.

Open and print PDF forms using available printer and driver settingsCompatible with Microsoft Word, Excel, and PowerPoint formatsFamiliar interface makes moving between Office-style documents easierFree, lightweight office suite for everyday document work
QA img-9

Frequently Asked Questions

Can a PDF form automatically select a specific printer tray?

Not reliably in every setup. Tray selection depends on the operating system and printer driver. Configure the tray in the designated printer's printing preferences and test the form on each intended device.

Can I print only certain pages from the form button?

Yes. In the button's Run a JavaScript action, set the firstPage and lastPage properties of the printParams object before calling this.print(pp). Page indexes start at zero.

Will the print button work in every PDF viewer?

No. PDF viewers differ in their support for Acrobat JavaScript and form actions. Test the saved form in the viewer users will use, and retain File > Print as a fallback.

Can the form print without showing a dialog?

Silent printing can be restricted by Acrobat security settings and the context in which the script runs. A button action alone does not guarantee that the print dialog will be bypassed.