Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

set button to export pages

tyj00123
Level 1
Level 1

Hi there, wondering if it is possible to set up a button in LiveCycle which will export only a certain range of pages from the pdf, without the user having to see any sort of dialog box except the save/name their file dialog box?

i.e. was thinking of using the Print to pdf option but the user would have to choose pdf from the print dialogue box and all a bit too hard for them.

Thanks..

1 Reply
radzmar
Level 10
Level 10

You can use Acrobat JavaScript API methods to print certain pages.

This allows you to set up a print range for example, so the user won't have to do this.


var pp = event.target.getPrintParams();


pp.interactive = pp.constants.interactionLevel.full; pp.printRange=[[1,3], [4,10], [12,19]];


event.target.print(pp);


More about the API under: Acrobat DC SDK Documentation