Utskrift  |  Stäng

PJ-763

Vanliga frågor & felsökning

Vanliga frågor & felsökning

Avinstallera skrivardrivrutinerna (Linux®) (Eng)

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)
    Example (for dpkg) | Example (for rpm)
     
  3. Uninstall the LPR driver

    Command (for dpkg) : dpkg -P (lpr-driver-name)
    Command (for rpm)  : rpm -e (lpr-driver-name)
    Example (for dpkg) | Example (for rpm)
     
  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)
    Example (for dpkg) | Example (for rpm)
     
  5. Check the uninstallation (LPR driver).

    Command (for dpkg) : dpkg -l | grep Brother
    Command (for rpm)  : rpm -qa | grep -e (lpr-drivername) 
    Example (for dpkg) | Example (for rpm)
     

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)

# rpm -qa | grep -e ql1050lpr
#
Utskrift  |  Stäng