Hello,
Can you please help? Based on this link:
http://www.microsoft.c om/technet/scriptcenter/guide/sas_prn_avmt.ms px?mfr=true
I know how to add a single printer connection using WSH. But, I would like to know how to add all printers attached to a Windows Print Server dynamically? In other words, if I have a dozen printers I want to avoid coding the following statement 12 times for all twelve of my printers.
objNetwork.AddW indowsPrinterCo nnection “\\PrinterServe r\DaffyPrinter”
objNetwork.AddW indowsPrinterCo nnection “\\PrinterServe r\DonaldPrinter ”
Is there a way to dynamically add all the printers in one statement? Thanx
Can you please help? Based on this link:
http://www.microsoft.c om/technet/scriptcenter/guide/sas_prn_avmt.ms px?mfr=true
I know how to add a single printer connection using WSH. But, I would like to know how to add all printers attached to a Windows Print Server dynamically? In other words, if I have a dozen printers I want to avoid coding the following statement 12 times for all twelve of my printers.
objNetwork.AddW indowsPrinterCo nnection “\\PrinterServe r\DaffyPrinter”
objNetwork.AddW indowsPrinterCo nnection “\\PrinterServe r\DonaldPrinter ”
Is there a way to dynamically add all the printers in one statement? Thanx