print button to print page 10 with dialog asks user how many times to print page 10


hi, all

would javascript attach button following:-

asks user in dialog box how many copies of page 10 wish print.

 

sounds easy hmmm not me....unfortunately.

 

if cannot done possible have page 10 selected in normal print dialog box on button....which brings print dialog , have select how many copies.

 

thanks in advance

 

stephen

you can use code that:

 

var copies = number(app.response("how many times want print page 10?","","")); if (!isnan(copies) && copies>0) {     var pp = this.getprintparams();     pp.firstpage = 9;     pp.lastpage = 9;     pp.numcopies = copies;        this.print(pp);    } 


More discussions in PDF Forms


adobe

Comments

Popular posts from this blog

Soustraire une selection

After Effects: could not find dvaeve_dialogs.txt

Illustrator cs6 "Invalid Serial Number"