LinuxCommandLibrary

hp-setup

Configure and install HP printers/scanners

SYNOPSIS

hp-setup [options]

PARAMETERS

-h, --help
    Display help message and exit.

-i, --interactive
    Force interactive mode (even if DISPLAY is set).

-d, --debug
    Enable debugging output.

-g, --gui-only
    Run the GUI setup tool only (skips command-line prompts).

-u, --uninstall
    Uninstall a printer.

-a
    Specify printer's IP address for network setup.

-m
    Specify printer model.

-p
    Specify PPD file to use.

-r
    Connection method (usb, net, par, hpf)

DESCRIPTION

hp-setup is a command-line tool provided by the HP Linux Imaging and Printing (HPLIP) project.
It assists users in setting up and configuring HP printers and multi-function devices on a Linux system.
The tool automatically discovers printers connected via USB, network (wired or wireless), or direct IP address.
It guides the user through the driver installation process, downloads necessary plugins if required (for features like scanning or faxing), and configures the printer within the CUPS (Common Unix Printing System) print queue.
hp-setup simplifies the often complex task of installing and configuring HP printers, ensuring compatibility and enabling all available functionalities.
It handles dependencies, resolves driver issues, and provides a user-friendly interface, making HP printer installation easier for both novice and experienced Linux users.

CAVEATS

Plugin installation might require an active internet connection.
Some features might be limited depending on the printer model and available drivers.

GUI VS. COMMAND LINE

While hp-setup can be run from the command line, it often launches a graphical user interface (GUI) to guide the user through the configuration process. The GUI provides a more intuitive and user-friendly experience, especially for less experienced users.

TROUBLESHOOTING

If hp-setup fails to detect or configure a printer, ensure that the HPLIP package is up-to-date, the printer is properly connected and powered on, and that any necessary firewall rules are configured to allow communication with the printer.

HISTORY

hp-setup is part of the HPLIP (HP Linux Imaging and Printing) project, which was initiated to provide comprehensive support for HP printers and imaging devices on Linux.
The command has evolved over time to support new printer models, improve driver compatibility, and enhance the installation process.
The continued development ensures that HP printers function seamlessly within the Linux ecosystem.

SEE ALSO

hp-toolbox(1), hp-info(1), lp(1), lpadmin(8), cups(1)

Copied to clipboard