I have dynamic document with several pages. I want to add a print button that will only print the page it is on, not the entire document.
The author of numerous books on Acrobat, Photoshop, Illustrator and the Adobe Creative Suite, and an international speaker on Adobe Acrobat, Ted Padova is a well-known PDF guru.
this.print (this.pageNum);
If you want the page to shrink to fit use:
this.print (this.pageNum, {bShinkToFit: true});
If you want the Print dialog box to not appear use:
this.print (false, this.pageNum, {bShinkToFit: true});
Consult the JS Manual for more options.
ted
The author of numerous books on Acrobat, Photoshop, Illustrator and the Adobe Creative Suite, and an international speaker on Adobe Acrobat, Ted Padova is a well-known PDF guru.