Skip to main content
couturef20
Participant
January 15, 2019
Question

Need help with Javascript to create a print button that uses automaticaly PDFcreator

  • January 15, 2019
  • 1 reply
  • 1243 views

Hello,

I want to add on my fillable PDF form a printing button that would automaticaly print the file with PDFcreator. I'm using Adobe Acrobat Pro DC.

I know how to create and run the button on Adobe, but I'm new to Javascript coding.

Can someone help me with that?

Thank you

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
January 27, 2019

In the future you'll be better off asking questions about JS in Acrobat here: JavaScript

You can specify the name of the printer to use, but not the file-name of the target file.

To do it use the PrintParams object and specifically its printerName property.

You can get a list of the internal names of all the printers using the printerNames property of the app object.