Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Count Word Pages

by packetstormer (Monk)
on Jun 10, 2013 at 14:18 UTC ( #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!!


Comment on Re^2: Count Word Pages
Re^3: Count Word Pages
by hdb (Prior) 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 (Bishop) 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
Node Status?
node history
Node Type: note [id://1038082]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2014-10-21 08:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (98 votes), past polls