Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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.


Comment on Re: Count pages of PDF file
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://912870]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2014-12-20 10:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls