Uninstalling the printer drivers (Linux®)
To uninstall the printer driver, do the following:
1. Login as a superuser (or use "sudo" option if it is required)
2. Uninstall the CUPS wrapper driver
Command (for dpkg) :
dpkg -P (cupswrapper-driver-name)
Command (for rpm) :
rpm -e (cupswrapper-driver-name)
3. Uninstall the LPR driver
Command (for dpkg) :
dpkg -P (lpr-driver-name)
Command (for rpm) :
rpm -e (lpr-driver-name)
4. Check the uninstallation (CUPS wrapper driver).
Command (for dpkg) :
dpkg -l | grep Brother
Command (for rpm) :
rpm -qa | grep -e (lpr-driver-name) -e (cupswrapper-driver-name)
5. Check the uninstallation (LPR driver).
Command (for dpkg) :
dpkg -l | grep Brother
Command (for rpm) :
rpm -qa | grep -e (lpr-drivername)
Example
Uninstall the CUPS wrapper driver (dpkg)
# dpkg -P ql1050cupswrapper
(Reading database ... 97352 files and directories currently installed.)
Removing ql1050cupswrapper ...
* Restarting Common Unix Printing System: cupsd [ OK ]
* Restarting Common Unix Printing System: cupsd [ OK ]
Purging configuration files for ql1050cupswrapper ...
* Restarting Common Unix Printing System: cupsd [ OK ]
#
Uninstall the CUPS wrapper driver (rpm)
# rpm -e ql1050cupswrapper
Stopping cups: [ OK ]
Starting cups: [ OK ]
#
Uninstall the LPR driver (dpkg)
# dpkg -P ql1050lpr
(Reading database ... 97349 files and directories currently installed.)
Removing ql1050lpr ...
rmdir: failed to remove `/usr/local/Brother/PTouch/ql1050/lpd': No such file or directory
rmdir: failed to remove `/usr/local/Brother/PTouch/ql1050/inf': No such file or directory
rmdir: failed to remove `/usr/local/Brother/PTouch/ql1050': No such file or directory
* Restarting Common Unix Printing System: cupsd [ OK ]
Purging configuration files for ql1050lpr ...
rmdir: failed to remove `/usr/local/Brother/PTouch/ql1050/lpd': No such file or directory
rmdir: failed to remove `/usr/local/Brother/PTouch/ql1050/inf': No such file or directory
rmdir: failed to remove `/usr/local/Brother/PTouch/ql1050': No such file or directory
* Restarting Common Unix Printing System: cupsd [ OK ]
dpkg - warning: while removing ql1050lpr, directory `/usr/local' not empty so not removed.
#
Uninstall the LPR driver (rpm)
# rpm -e ql1050lpr
#
Check the uninstallation (CUPS wrapper / LPR) (dpkg)
# dpkg -l | grep Brother
#
Check the uninstallation (CUPS wrapper) (rpm)
# rpm -qa | grep -e ql1050lpr -e ql1050cupswrapper
#
Check the uninstallation (LPR) (rpm)
RJ-3150
192 / 237