LinuxCommandLibrary

hp-info

Get information about HP printer/scanner devices

SYNOPSIS

hp-info [-i | --info] [-d | --device=DEVICE-URI] [-b | --bus=BUS-ID] [-m | --model=MODEL] [-p | --plugin] [-P | --ppd] [-r | --release] [-l | --lang=LANG] [--debug[=LEVEL]] [-v | --version] [-h | --help]

PARAMETERS

-i, --info
    Print all information pages for the device (default)

-d DEVICE-URI, --device=DEVICE-URI
    Specify device using device URI (e.g., hp:/usb/HP_LaserJet)

-b BUS-ID, --bus=bus-id
    Specify device using bus ID (e.g., '1:3')

-m MODEL, --model=MODEL
    Specify device using model name (e.g., 'HP LaserJet 400')

-p, --plugin
    Print HPLIP plugin status

-P, --ppd
    Print PPD file information

-r, --release
    Print HPLIP release number

-l LANG, --lang=LANG
    Set language (default: en)

--debug[=LEVEL]
    Enable debug output (LEVEL 0-9, default 4)

-v, --version
    Show version information

-h, --help
    Display help message

DESCRIPTION

hp-info is a command-line utility from the HPLIP (HP Linux Imaging and Printing) package, used to retrieve and display comprehensive information about connected HP printers, scanners, and multifunction devices on Linux systems.

Without specifying a device, it scans for all supported HP devices and shows basic details like model, serial number, status, and backend. When targeting a specific device via URI, bus ID, or model, it offers an interactive menu with categories such as:
  - Device status and capabilities
  - Aligned devices and printhead info
  - CUPS print queues
  - Firmware and plugin status
  - Supported commands and error log

This makes it essential for troubleshooting detection issues, verifying driver compatibility, checking firmware versions, and confirming plugin installations required for proprietary features. Output is formatted for readability, aiding system administrators and users in diagnosing printing/scanning problems.

Requires HPLIP installed; sudo may be needed for full USB/net access.

CAVEATS

Requires HPLIP package; some info needs root privileges or running HPLIP services; proprietary plugins must be installed separately for full device support.

BASIC USAGE

hp-info (lists all devices)
hp-info -d hp:/usb/HP_Device_1234_ABC (device-specific info)

INTERACTIVE MODE

Outputs menu like [0] Device status, [1] Aligned devices, [q] Quit; enter number to view section.

HISTORY

Developed as part of HPLIP project initiated by HP in 2001 for Linux/UNIX printing support. First released in HPLIP 0.9 (2005); evolved through versions to HPLIP 3.24.x (2024), adding support for new devices, plugins, and enhanced diagnostics.

SEE ALSO

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

Copied to clipboard