First of all, thanks for your answer.
As I need some automatic process, I might try some regex to find the info but I wonder if there isn't a more appropriate way to get this info. I.e., some code (possibly postscript) that would get this info from the PDF file.
As far as I know there are...
I need to get the page size of a PDF file programatically, with acrobat or ghostscript. How can I get it?
And it's page count?
I am running FreeBSD.
TIA,
Rodrigo Severo
Can't use your suggestion. I bet you are assuming much better postscript/ghostscript knowledge than I actually have ;)
Can you give a setp by step solution, please?
I am not sure about Cheyney but I am looking for a way to get the size of a PDF file in another file or at STDOUT.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.