in reply to Line Printing Control

Look at LaTeX if you truly just looked at TeX. It's a somewhat higher level system (sort of C to TeX's assembler) and might be more suited to your needs.

Also consider that you don't have to generate the complete (La)?TeX output each time. You could use a templating system to seperate the actual output presentation from its generation.