[Tutor] dynamic printing

alan.gauld@bt.com alan.gauld@bt.com
Thu, 17 Jan 2002 16:27:57 -0000


> Is there a module that allows one to print to a PRINTER
> instead of the screen? I can save it to a file and then go 
> back with windows 
> and hit File>Print.. 

The equivalent to this is to use

os.system("print foo.txt")

where foo,txt is your file.

For pretty formating I usually create an HTML file and 
get netscape to print it...

Alan g