hp-clean
Printhead cleaning utility for HPLIP-supported HP inkjet printers
TLDR
SYNOPSIS
hp-clean [DEVICE-URI|PRINTER-NAME] [MODE] [OPTIONS]
DESCRIPTION
hp-clean runs the printhead cleaning routine on HPLIP-supported HP inkjet printers, clearing dried ink and debris from the nozzles to restore print quality.When launched without a specific mode it walks through an interactive wizard that lets the user pick a cleaning level from 1 to 3; higher levels clean more aggressively and consume more ink, so level 1 is usually tried first. The target printer can be selected up front with -p or -d, otherwise hp-clean prompts for one if more than one HPLIP device is installed.hp-clean only works with inkjet printers whose HPLIP plugin exposes a cleaning routine; laser printers and some low-end inkjets do not support it.
PARAMETERS
-d device-uri, --device=device-uri
Specify the target printer by CUPS device URI.-p printer, --printer=printer
Specify the target printer by CUPS queue name.-i, --interactive
Run in interactive mode.-l level, --logging=level
Set logging verbosity: none, info (default), error, warn, or debug.-g
Run with debug-level logging (equivalent to -l debug).-h, --help
Display help and exit.
INSTALL
CAVEATS
Part of the HPLIP package. Cleaning consumes ink and should only be run when print quality actually degrades (streaks, missing lines). Not all HPLIP-supported models implement printhead cleaning.
HISTORY
hp-clean is one of the device-maintenance utilities in HPLIP (HP Linux Imaging and Printing), HP's open-source printer/scanner driver suite for Linux, alongside hp-align and hp-linefeedcal.
