Page 1 of 1

PDF Page Count

Posted: 2007-01-29T04:19:32-07:00
by oddball508
Any one know of a way to return the number of pages in a PDF document? From VBA code would be even better :)

Posted: 2007-01-29T08:24:16-07:00
by magick
To get the number of pages in a PDF document, use this command:
  • identify -format %n image.pdf