[Samba] rpcclient error / printer driver issue
Chris McKeever
techjedi at gmail.com
Mon Feb 7 23:58:12 GMT 2005
SUSE 9.1
samba-3.0.9-2.6
samba-client-3.0.9-2.6
I am getting some errors that I can't seem to track down in any of the
archives. I came across this problem when trying to delete a driver
none of the printers are listed in the smb.conf - it is all being
generated from the cups and the printcap that cups makes on load
First enumprinters works:
rpcclient $> enumprinters
flags:[0x800000]
name:[\\prupref-print\ccc-tosh35]
description:[\\prupref-print\ccc-tosh35,TOSHIBA e-STUDIO28-45
GL-PSL3,Call Center Toshiba 35]
comment:[Call Center Toshiba 35]
flags:[0x800000]
name:[\\prupref-print\hin-magi2300]
description:[\\prupref-print\hin-magi2300,magicolor 2300
DL,Hinsdale Magicolor 2300]
comment:[Hinsdale Magicolor 2300]
------------------------------------
any combination of the getdriver returns:
rpcclient $> getdriver "ccc-tosh35"
Error opening printer handle for \\.\ccc-tosh35!
result was WERR_INVALID_PRINTER_NAME
rpcclient $> getdriver "\\prupref-print\ccc-tosh35"
Error opening printer handle for \\.\\\prupref-print\ccc-tosh35!
result was WERR_INVALID_PRINTER_NAME
--------------------
also enumdrivers:
rpcclient $> enumdrivers
result was WERR_UNKNOWN_PRINTER_DRIVER
------------------
finally - if I were to even get the getdriver to work, how would I
disassociate the driver with the printer so:
rpcclient $> deldriver "magicolor 2300 DL"
Failed to remove driver magicolor 2300 DL for arch [Windows NT x86] -
error 0xbb9!
Failed to remove driver magicolor 2300 DL for arch [Windows NT x86] -
error 0xbb9!
result was WERR_UNKNOWN_PRINTER_DRIVER
--
----------------------------------
please respond to the list .. if you need to contact me direct
cgmckeever is the account
prupref.com is the domain
<A href="http://www.prupref.com">Simply Chicago Real Estate</A>
More information about the samba
mailing list