I have a simple vbscript that extracts a web page, saves it to a file, then uses notepad to print that file to the default printer. What can I do to make it print to a specified non-default printer?
-
-
txtfile.WriteLine(xmlhttp.responseText)
-
txtfile.Close
-
'enable this to print
-
'oWS.Run "NotePad.exe /p " + path
-
Unrelated, the page printed is set for letter size paper width so some lines print a few characters, then fill the rest of the line with blank spaces. The default printer is an Epson receipt printer that's only 24 chars wide (I'm guessing). It prints very slowly compared to receipts that are printed by the computer's cash register software. Any idea why this is so?