Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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.