Skip to main content
Participant
October 20, 2017
Answered

Please help with JavaScript print button

  • October 20, 2017
  • 1 reply
  • 661 views

Hello to everyone,

I'm hoping someone can help me out here as I'm a bit stuck.

I have a PDF that has multiple hyperlinks to documents that reside on a server.

Next to each hyperlink is a check box.

The goal is to print the documents that reside on the server based on whether or not the check boxes are checked off/ticked.

Say there are ten hyperlinks, each with a check box next to them.  I'd like the user to check off/tick whatever document(s) they want to print, then click a print button that automatically prints all of the documents that have a check box ticked.

Is this possible and, if so, can someone please show me how to do it?

I'm using Adobe Acrobat X Pro.

Thanks,

Chad

This topic has been closed for replies.
Correct answer gkaiseril

The print action can only print the open PDF, so you script will need to open the linked PDF document and then print that document. Because scripted printing can result in a PDF printed to any networked printer, Adobe has placed a security restriction on this process. You will need to add a special JavaScript file to each user's computer to enable this feature.

Doc print method

1 reply

gkaiserilCorrect answer
Inspiring
October 20, 2017

The print action can only print the open PDF, so you script will need to open the linked PDF document and then print that document. Because scripted printing can result in a PDF printed to any networked printer, Adobe has placed a security restriction on this process. You will need to add a special JavaScript file to each user's computer to enable this feature.

Doc print method