Sergey
You might be interested to know that the following code will change the Windows default printer.
oWSH = CREATEOBJECT("WSCRIPT.Network")
? SET("PRINTER",2)
oWSH.SetDefaultPrinter(GETPRINTER())
? SET("PRINTER",2)
Colin Northway
Specialist in Advertising, Marketing, especially Direct Marketing
I run courses in Business Management and Marketing