[Samba] How to delte a printer
rippls at woodlandschools.org
Fri Nov 14 16:51:12 GMT 2008
[from our internal documentation...]
1. Remove the printer via the web interface in CUPS:
1. Manage Printers
I. Delete Printer
2. Stop the CUPS daemon with /etc/init.d/cupsys stop (if debian)
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
4. Start the CUPS daemon with /etc/init.d/cupsys start
5. Delete the PPD file created by cupsaddsmb for the printer you
have removed from the [print$] share folder to avoid
On Fri, 2008-11-14 at 11:50 +0100, Marc Muehlfeld wrote:
> how can I delete a printer and it's driver completely out of samba?
> 1. Removing the entry out of smb.conf and reload samba.
> 2. Remove the driver over the windows serversettings dialog.
> But then there is a "printing/printer-name.tdb" left in the lock directory.
> Can I just delete this file? And how can I remove the corresponding entries
> out of ntprinters.tdb.
> And is there anything more to do?
More information about the samba