1 person found this helpful
Use this code:
var pp = this.getPrintParams(); pp.printRange = [[0,5], [0,5], [0,5], [6,6]]; this.print(pp);
Thank you so much once again!
I have one more question left (at least for now!!)
The user should preferably not see page 4 and 6, but I need them to be printed out. The users will print double sided, so I have added some blank pages to avoid mixing different papers. Do you know a code for hiding these blank pages?
Assuming the file is going to be used in the free Reader that's quite complicated to implement.
I would just add a non-printable, read-only text field on those pages saying they are intentionally left blank for printing purposes, or something like that.
Yes, they use free reader. That solution will work! Smart adding a field so there will be no misunderstandings. Thank you very much! You have been of great help.