Skip to main content
Participant
January 13, 2017
Question

Is it possible to define printer settings to a form?

  • January 13, 2017
  • 1 reply
  • 260 views

I am new to the product so please feel free to offer advice here. I am looking to design a form so that whenever it is printed it will go to a specific printer, using a specific paper size and type, Color/B&W, etc. The printer is going to be defined that all jobs on this "form" for will go to tray 3 so  the users will never have to select the tray or the stock. They just open the PDF and print it and not have to select tray, stock and the rest. We are using Adobe pro and/or Illustrator. Thanks in advance.

This topic has been closed for replies.

1 reply

Legend
February 6, 2017

Hi jknorpp18966, 

Defining print settings for a document can be achieved if you create a "Print" button that runs a JavaScript with your desired settings. The File > Print menu item will remain as usual.

To create a "Print" button with the desired settings, write a script that executes when the button is pressed (button's action). Use Acrobat JavaScript's printParams properties and print method to define the print settings.

An example is here:

https://answers.acrobatusers.com/Create-Print-button-print-pages-q136349.aspx\

The print method is documented here:

http://help.adobe.com/en_US/acrobat/acrobat_dc_sdk/2015/HTMLHelp/#t=Acro12_MasterBook%2FJS_API_AcroJS%2FDoc_methods.htm%23TOC_print1bc-80&rhtocid=_6_1_8_23_1_79

PrintParams (print properties):

http://help.adobe.com/en_US/acrobat/acrobat_dc_sdk/2015/HTMLHelp/#t=Acro12_MasterBook%2FJS_API_AcroJS%2FPrintParams.htm

http://help.adobe.com/en_US/acrobat/acrobat_dc_sdk/2015/HTMLHelp/#t=Acro12_MasterBook%2FJS_API_AcroJS%2FPrintParams_properties.htm

-Tariq Dar