pdfPrintGetPageCount
Get the page count for the most recent print call.
int pdfPrintGetPageCount(PDFHandle pdf)
This function returns the number of pages printed by the most recent
call to
pdfPrint4
or pdfPrintStartJob
.
C:
...
pdfPrint4(pdf);
numberOfPages = pdfPrintGetPageCount(pdf);