7. Printer

Identify installed printers in system

lpstat -a

How do I remove hundreds of automatically added network printers

sudo nautilus

1.Go to etc-->cups-->cups-browsed.conf

2.Change this line: BrowseRemoteProtocols dnssd cups (or whaterver is after it) to none so it reads: BrowseRemoteProtocols none

3.stop cups and then remove the printers from the file

sudo service cups-browsed stop


1.System Settings --> Printers

2. Click Add and select Find Network Printer

3. Enter the IP address in the Host field, and click Find.

4. Click Forward and wait while the system searches for drivers

5. Click Apply to finish

HPLIP Driver Installation Process

my HP printer supported by HPLIP please[ check here]

1.First, download the latest HPLIP(HP Linux Imaging and Printing) driver from [website]

2.Secondly: after downloading the file it needs to be made executable. To do this, the following needs to be done:

  • Open a terminal

  • Browse to the Downloads folder: cd Downloads

  • Then type the following command: sudo chmod +x hplip-*.**.**.run(*.**.** is where the version number of the file needs to be filed in)

  • Press Enter and if required, type the user password and press Enter

The HPLIP driver is now executable. Keep the terminal open.

Do not switch on the printer during the installation procedure!!! If the printer is switched on, make sure it is switched off before starting the installation procedure.

To run the installation file it is not required to use sudo to get root privileges. In the terminal type the following command: ./hplip-.*..run

🕵️‍♂️ Note that the command starts with . (dot) / (slash) followed by the complete filename and ending on . (dot) run!

before the installation procedure starts the user must choose whether to install the driver manually (press c for custom) or automatically (press a for automatic). Best is to execute the installation procedure manually (custom) so that every step can be controlled and monitored by the user.

The installation procedure will check for missing ask if older versions of the HPLIP driver must be removed. Confirm that this should be done to avoid any conflicts with older package versions.

💂‍♀️ Always restart the computer, re-plugging in the printer doesn't always work. By restarting the computer and after logging in switching on the printer, the user forces Ubuntu to search for any printers connected.

HPLIP Driver installed Successfully

Is HPLIP currently installed?

Debian package based distributions (Debian, Ubuntu, Mepis, etc):

Run in a terminal window:

dpkg -l hplip

You may see something that looks like this:

If you see "ii" in the first column before "hplip", then HPLIP is already installed. If you want to use the currently installed version of HPLIP, try running hp-setup in a terminal shell.

Last updated