Just out of curiosity, although I didn't experience this problem (for 2 reasons 1) I only had a small text file, and 2) I'm too cheap to actually print it out
) I was wondering what the solution might be for us non VS 2005 users?
If I remember back to that chapter there was some code going on that got the height of the font and then used that to work out how many rows you could fit on each page etc, could a similar approach be used for getting the characters across the page? ie, page width / font width = characters across the page.
This does feel a bit messy, as I'd feel the need to then add code to not chop words in half, so count across, if its in the middle of a word - roll back - find the space - start the next line - start from that word..
Seems a bit of over kill?
Interested to hear anyone's thoughts on this - I'll go and find a bigger text file now and try the example again and see if I get the same - I'm intrigued :)