--- In firstname.lastname@example.org
, selva kumar <templateteam@...>
> Hi Hernán,
> I am using PC version. I think this is UniX command. Is there any
other way to do this in PC version.
You will need to go to http://www.foolabs.com/xpdf/
xpdf, (look for the Windows version in the downloads section). You
are correct in saying his is a Unix solution. You'll need to read
the documention to see how to call it from Windows.
Below is a link to: How to pull Text from a PDF using Perl?
(from perl beginners) David Wagner gave an example using Windows.
However, I believe you'll want to use the pdftops command as Hernán
has said, just without some of the Unix syntax at the end somehow.
(the link below is all 1 line so you'll have to 'reconstruct' it
into 1 line in a text editor then paste it into your browser's
Hope this helps,
> Hi! i had the same problem and I solve that by using pdftops. May
> is a simpler and elegant way, but it works fine:
> $pages = `pdftops $homedir/$file - 2>> pages.err | grep -c "%%
> chomp($pages) ;
> $pages *= 1.;
> print "$pages\n";
> On 9/29/07, selva kumar <templateteam@ yahoo.com> wrote:
> > Hello All,
> > I want to count the total number of PDF pages in the files. I
> > thru PDF modules Parse, API2, Extract. but it fails to read all
> > Can anybody please let me know which module i can use to count
> > number of pages.
> > Thanks in
> > Anil