You are not logged in.
Pages: 1
Has anybody heard of a "page count" program that works similar to wc? I like writing my stuff in a text editor, but sometimes it's good to know how many pages, as printed, I've turned out. Currently I just paste into OO.org now and then, but it's obviously not optimal. Something that could produce a page count from some general information like the paper size, margins, font size, and line spacing would be a godsend.
Offline
How about just using OO.o Writer? It will save in plain-text (.txt)
Bob
Offline
Has anybody heard of a "page count" program that works similar to wc? I like writing my stuff in a text editor, but sometimes it's good to know how many pages, as printed, I've turned out. Currently I just paste into OO.org now and then, but it's obviously not optimal. Something that could produce a page count from some general information like the paper size, margins, font size, and line spacing would be a godsend.
You could always figure out the average number of words per page in your standard printout, then use wc and some quick arithmetic...maybe even type up a quick shell script to get it done, or something.
moljac024: No one really knows what happens inside /dev/null... it could be a gateway to another universe....
dunc: If it is, the people who live there must be getting pretty annoyed by now with all the junk we send them.
Offline
How about just using OO.o Writer? It will save in plain-text (.txt)
That would require using OO.o Writer for an extended period of time.
You could always figure out the average number of words per page in your standard printout, then use wc and some quick arithmetic...maybe even type up a quick shell script to get it done, or something.
Yeah. It would be fixed to a particular font, page size, and margins though. It might not be too hard to write a program that calculated the actual size based on the font and your text.
Offline
You would need to know the line height, line spacing, width of each character in the font with the current size, page size, page margins, and word-break policy... assuming that there is no additional text formatting (headers, footnotes, bold text, etc).
It's obviously doable, but I suspect it will be a PITA to implement an accurate script.
Does OO.o Writer (or some other editor) have any command-line options that could help? What about writing a script to load your text into a LaTeX file then convert it to dvi/pdf and check that?
Last edited by Xyne (2008-12-15 08:37:33)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
What about writing a script to load your text into a LaTeX file then convert it to dvi/pdf and check that?
Yeah, that's the easiest thing I've thought of. Not sure how long such a thing would take to run though.
Offline
print to a postscript or pdf files, then count the pages in there? http://wiki.archlinux.org/index.php/CUP … al_Printer
Offline
Pages: 1