Displaying 1 result from an estimated 1 matches for "omaster".
Did you mean:
master
2005 Sep 13
1
Problem adding printer using MSRPC
Hi,
When I try to add a printer using APW, the printer gets added
successfully. However, when I try to add a printer using the MS_RPC
addprinter command, the script fails with access denied. Please let me
know if I am doing anything wrong.
Thanks,
Guru.
The addprinter vbscript
dim oMaster, oPrinter
set oMaster = CreateObject("PrintMaster.PrintMaster.1")
set oPrinter = CreateObject("Printer.Printer.1")
oPrinter.ServerName = "\\abc.xyz.com"
oPrinter.PrinterName = "Apple"
oPrinter.DriverName = "Apple LaserWriter 8500"...