Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Please help with JavaScript print button

New Here ,
Oct 20, 2017 Oct 20, 2017

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

TOPICS
Acrobat SDK and JavaScript , Windows
627
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Oct 20, 2017 Oct 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

Translate
LEGEND ,
Oct 20, 2017 Oct 20, 2017
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines