in reply to Letters Width

The short answer is "mu".

The long answer is that you can really only guesstimate how many pages it will take. There are many variables which will impact on how much paper will be consumed: So if you can figure out an average, you get an idea. Otherwise, you might want to just suggest using the "Print Preview" function, which is always accurate.

Even if you know the width of the characters, you will have to calculate how images are inlined, words wrapped, and before you know it, you will be writing a Web browser simulator, which is probably an exercise in futility.

Replies are listed 'Best First'.
Re: Re: Letters Width
by artist (Parson) on May 07, 2002 at 15:24 UTC
    Hi,
    Thanks,
    I know the IE-print, but currently I cannot take the value from 'Print Preview' as read on MSDN/Microsoft Site that they don't expose the print functionality 'currently'.
    Plus, I don't have graphics on page now, so there's no wrap arround.
    For my application Fonts are going to be ariel which are proprotional font (that's why I need char width in terms of pixels) and I will be knowing the paper size, margins, header,footer, OS, Browser ahead of the time.
    I don't know how printer peculiarities will affect, but I would know the type of current printer etc.. for this application for now.
    So it wouldn't be as high as a Web Browser Simulator.

    I know that the task is complicated and I want to have some fun too.

    Artist