PDA

View Full Version : SetDefaultPrinter port not correct (W2K)



Adam_Shepherd
04-07-2003, 09:09 PM
When I use the code
Set objNetwork=CreateObject("WScript.Network")
objNetwork.SetDefaultPrinter PrinterPathAndName

If I go to print, it says
printing PRINTERNAME on PRINTERNAME
and not the standard of
printing PRINTERNAME on Ne00:

Does anyone know how to force the default printer port for the printer?

Thanks
Adam