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

Can I add print buttons for certain stuff on the same page of a PDF?

New Here ,
Feb 09, 2024 Feb 09, 2024

I have an Avery Label template and lets say there are six labels on a sheet I want to add a print check box on each lable and if the box is checked it will print that particular lable if not it wont. Is that possible?

TOPICS
Acrobat SDK and JavaScript
497
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
Community Expert ,
Feb 10, 2024 Feb 10, 2024

Hi,

That is possible, but the way will depend on your pdf file.

If the labes you want to print are located into fields you can use "display.noPrint" for their display propertie, if they are parts of the pdf sheet you will have to create masks...

@+

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
New Here ,
Feb 10, 2024 Feb 10, 2024

its a single PDF like below I wont always be printing a full sheet of lables sometimes only one at a time. I was hoping i could somehow put a check box on each label to indicate that I wanted that label to print

leonidasc11028861_0-1707562233595.png

 

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
Community Expert ,
Feb 10, 2024 Feb 10, 2024

You can use form fields to hide some labels, but it would still print a whole page, unless you change the print settings. I don't believe it's possible to script printing just a part of a page automatically.

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
Community Expert ,
Feb 10, 2024 Feb 10, 2024
LATEST

Attached is an example of what you could do.

There are white invisible fields on screen but visible when printed to hide the borders of the labels.

The other masks are visible when the check boxes are unticked.

The check boxes are visible on screen but invisible on printing.

@+

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