[Tutor] Printing txt files in landscape from python

János Juhász janos.juhasz at VELUX.com
Thu Feb 1 17:00:18 CET 2007

Hi All,

do you have any idea, how I can send a txt file to the default printer in 
landscape view with python on windows.
I wanted to set up just the char size and the orientation of the printout.

thinking about
        os.system('notepad.exe /pt "%%%s"' % filename)

Yours sincerely,
János Juhász

More information about the Tutor mailing list