[Samba] How to delete a printer?

Marc Muehlfeld Marc.Muehlfeld at medizinische-genetik.de
Tue Nov 18 10:27:49 GMT 2008

Steve Rippl schrieb:
>   1. Remove the printer via the web interface in CUPS:

I use LPD and allready removed it out of printcap.

>   3. Run the rpcclient command to manually reverse the integration
>         process performed by cupsaddsmb
>              1. rpcclient localhost -U username -c ‘deldriverex
>                 printername’ "Windows NT x86"
>              2. If you wish to disassociate the driver for all
>                 architectures, and you do, then specifying the
>                 architecture via the "Windows NT x86" statement is not
>                 necessary.

This is what I did over the serversettings dialog out of windows.

>      5. Delete the PPD file created by cupsaddsmb for the printer you
>         have removed from the [print$] share folder to avoid
>         accumulation.

I don't have this, because i don't use cups.

But the "printing/printer-name.tdb" file left in the lock directory and the 
entries in ntprinters.tdb are still left. :-(


More information about the samba mailing list