LinuxCommandLibrary

hp-firmware

Update HP printer firmware

SYNOPSIS

hp-firmware [OPTIONS] [LOCATION]
where LOCATION is USB device node (e.g. USB 1.0.0) or serial number.

PARAMETERS

-i, --install
    Install firmware image from file

-u, --upgrade
    Upgrade to latest or specified firmware release

-l, --list
    List available firmware releases for model

-m MODEL, --model=MODEL
    Specify printer model (e.g. HP_LaserJet_400)

-r RELEASE, --release=RELEASE
    Firmware release identifier

--senddoc
    Send firmware as printable document

-g, --gui
    Launch graphical user interface

-d #, --debug[=#]
    Set debug level (1-9)

-v, --verbose
    Increase output verbosity

-s, --symlink
    Enable symlink for firmware files

-h, --help
    Show help message

--version
    Display version information

DESCRIPTION

hp-firmware is a utility from the HPLIP (HP Linux Imaging and Printing) project for managing firmware on supported HP printers.

It enables users to install new firmware, upgrade existing firmware, list available releases, or query current firmware versions on devices connected via USB, parallel, or serial interfaces.

The command identifies printers by USB device ID (e.g., USB 001 002) or serial number. Firmware upgrades can resolve printing issues, improve compatibility, or add features like new paper sizes.

Requires HPLIP installed and printer powered on with no active jobs. Run with elevated privileges (sudo) for write operations.

Example: Upgrading fixes common issues on models like Deskjet or LaserJet series. Always check HP support for model-specific firmware.

CAVEATS

Requires root privileges for firmware writes. Printer must be idle and connected. Not all models supported; check with hp-check. Firmware files downloaded separately or via HPLIP plugin.

INSTALLATION

Install HPLIP: sudo apt install hplip (Debian/Ubuntu) or sudo dnf install hplip (Fedora).

USAGE EXAMPLE

hp-firmware -u USB 1.0.0
Upgrades firmware on first USB printer.

hp-firmware -l -m HP_DeskJet_2130
Lists firmware for specific model.

HISTORY

Part of HPLIP since version 0.9 (2005), developed by HP and open-source contributors for Linux printer support. Enhanced in HPLIP 3.0+ with better USB handling and model coverage.

SEE ALSO

hp(1), hp-check(1), hp-setup(1), hp-probe(1), lsusb(8)

Copied to clipboard