Skip to main content
Known Participant
June 15, 2023
Answered

print certain pages

  • June 15, 2023
  • 1 reply
  • 936 views

Hi, how can I print from a pdf document all the pages except the first one?

Agradeceria vuestra ayuda.

This topic has been closed for replies.
Correct answer try67

Sure:

this.print({nStart: 1, nEnd: this.numPages-1});

1 reply

try67
Community Expert
Community Expert
June 15, 2023

In the Print dialog select the Pages option and enter "2 - XXX" (replace XXX with the last page number of the file).

Known Participant
June 19, 2023

Hello.
But can it be done with a script that does it automatically?

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
June 19, 2023

Sure:

this.print({nStart: 1, nEnd: this.numPages-1});