pdfPrintSetLastPage

Set the last page to print.
void pdfPrintSetLastPage(PDFHandle pdf, int page)
This function sets the last page to print, and pdfPrintSetFirstPage sets the first page to print.

This is a simplified form of pdfPrintSetPages. If the pdfPrintSetPages function is called, the values set by pdfPrintSetFirstPage and pdfPrintSetLastPage will be ignored.

pdfPrintResetParams resets this to its default value, which is to end with the last page of the document.

C:
pdfPrintSetFirstPage(pdf, 10); pdfPrintSetLastPage(pdf, 20);
pdfPrintSetFirstPage
pdfPrintSetPages
pdfPrintResetParams