Running "pkpgcounter out.pdf" to get the number of pages of a PDF returns always 0 pages. Maybe there is an issue in the PDF you generated since ghostscript also complains when opening it (it says it doesn't conform the PDF specs)
↧