[Tutor] Printing in Windows (was: Further help needed!
carroll at tjc.com
Wed Jan 4 23:45:23 CET 2006
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:
filename = "testprint.txt"
commandline = "print " + filename
More information about the Tutor