Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Count Word Pages

by packetstormer (Monk)
on Jun 10, 2013 at 14:18 UTC ( [id://1038082]=note: print w/replies, xml ) Need Help??


in reply to Re: Count Word Pages
in thread Count Word Pages

I did think of this but I am not certain (maybe you know?) if a Word file page count will ALWAYS equal the page count of the converted document. The process charges per Word pages so the count must be the same. I suppose I could try one or two and find out!!

Replies are listed 'Best First'.
Re^3: Count Word Pages
by hdb (Monsignor) on Jun 10, 2013 at 14:58 UTC

    If that is the case, you are in trouble. The pagination only exists once the document is open in word depending (among other things) on the choice of paper in the printer driver. So if there is an absolute precision on page count required, you have to install Word. And even then your client might get different answers than yourself.

Re^3: Count Word Pages
by ww (Archbishop) on Jun 11, 2013 at 11:11 UTC
    Beware.

    The "Word file page count will" NOT "ALWAYS equal the page count of the Word document"!

    Pagination depends on font, size, output medium, margins, (and probably a few more not mentioned here).

    Could this be an XY problem? Why do you need something as ephemeral as a "page count?"


    If you didn't program your executable by toggling in binary, it wasn't really programming!

      I need the exact page count in order to assign a charge against it. The more pages in the document the more the client charges. Seems the only real way is to run it through Word!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-26 03:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found