Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Count pages of PDF file

by chrestomanci (Priest)
on Jul 05, 2011 at 20:00 UTC ( #912870=note: print w/replies, xml ) Need Help??


in reply to Count pages of PDF file

You could install pdftk for your platform and then use:

pdftk <filename> dump_data

It will emit 11 lines of metadata about the file. The last item is the page count.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://912870]
help
Chatterbox?
[1nickt]: Tux I'm getting there ... perlbrew list | wc -l 22 :-)

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2017-09-21 02:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (241 votes). Check out past polls.

    Notices?