On Wed, 4 Jan 2006, John Corry wrote: > I am using the following code to send a text file to the printer:- > This code works on windows XP + Windows 2000. However it does not work on > windows 98SE.
Here's another alternative, which might be even simpler, if it works for you, invoking the good old-fashioned DOS "print" command: import os filename = "testprint.txt" commandline = "print " + filename os.popen(commandline) _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor