I put in script so the form would print all pages, however, when a user clicks the print button, it just prints one page. What am I doing wrong?
Views
Replies
Total Likes
How does your script look like?
Does it work, when you execute it?
Views
Replies
Total Likes
xfa.host.print(0, "0", "7", 0, 0, 0, 0, 0)..I selected 'click' to execute. it works, but it doesn't print the 2 pages..only 1.
Views
Replies
Total Likes
Hi,
does your form contain 8 pages?
If you want to print the whole form, change the script into:
xfa.host.print(1, "0", (xfa.host.numPages -1).toString(), 0, 0, 0, 0, 0);
Views
Replies
Total Likes
No..just 2. Did I read the script wrong?
Views
Replies
Total Likes
Hi,
yes, the second and third parameters set the page range to print (count begins at 0 which means the first page).
The third parameter in your sample is "7", which means the eight page of your dokument, which does not exists.
Views
Replies
Total Likes
I tried it and it still says one page will be printed. I have selected on 'click'. What else should i look at?
Views
Replies
Total Likes
Can you upload your form somewhere and post a link here, so I can look at it?
Views
Replies
Total Likes
Views
Likes
Replies