[cups.general] configure network printer

ramesh k k_ramesh_7 at sify.com
Tue Nov 8 04:51:32 PST 2005


Hi,

I am a vc++ developer .i want to configure a network printer.i tried the follw.. methods using wscript.

"Getting invalid printer name error"
code : 80070709


[VBScript] 

Set WshNetwork = WScript.CreateObject("WScript.Network")
'PrinterPath = "\\printserv\DefaultPrinter"
PrinterPath = "\\http://10.1.30.11:631\HP LaserJet 2100"
WshNetwork.AddWindowsPrinterConnection PrinterPath

So pls reply 

Regs
Ramesh.k



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cups.org/pipermail/cups/attachments/20051108/b778d878/attachment-0001.html>


More information about the cups mailing list