Skip to content

Instantly share code, notes, and snippets.

@Tatsh
Last active March 6, 2021 22:13
Show Gist options
  • Save Tatsh/89c700d8d3ab33293a04c0f059f70aa2 to your computer and use it in GitHub Desktop.
Save Tatsh/89c700d8d3ab33293a04c0f059f70aa2 to your computer and use it in GitHub Desktop.
HPLIP: Skip installation of plug-in

The HPLIP UI is sometimes very buggy when it comes a) detecting plug-ins are already installed, and b) downloading the ones from HP's site. This has been my experience.

This page shows the list of supported devices and whether they need a plugin and for what reason. If you only want to use printing functionality of your device and your print functionality does not require a plugin, you can skip plugin installation with the steps below.

  1. Install HPLIP the normal way on your distro.
  2. As root, edit /usr/share/hplip/data/models/models.dat (or equivalent path).
  3. Find your device model in the file. It will be in underscore_style and may not be exactly what is written on your box or device. I have the Color LaserJet MFP M277dw, so I search for m277dw.
  4. Find the line in this section that says plugin=1. Change this to plugin=0.
  5. Restart hp-setup.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment