But switching default printers is an issue. I'd look again at AUTOIT to automate this.
Howdy,
I am trying to print a document from .bat. So far I have
RUNDLL32.EXE MSHTML.DLL,PrintHTML "C:\Users\library_studios\Desktop\test.html"
which will print the document, but I must select the printer manually.
Or I have
RUNDLL32 PRINTUI.DLL,PrintUIEntry /n"2nd Floor B&W" /k
which allows me not to have to select the printer, but it automatically prints Windows Test page. Is there any way to have a code that prints a selected file to a selected printer, without any manual input?
I have already found this http://www.robvanderwoude.com/printfiles.php and I can't get it to work. So if you could help me, that would be great.
Thanks!

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic