EnglishFrenchSpanish

OnWorks favicon

hp-setup - Online in the Cloud

Run hp-setup in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command hp-setup that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


hp-setup - Printer/Fax Setup Utility

DESCRIPTION


Installs HPLIP printers and faxes in the CUPS spooler. Tries to automatically determine
the correct PPD file to use. Allows the printing of a testpage. Performs basic fax
parameter setup.

SYNOPSIS


hp-setup [MODE] [OPTIONS] [SERIAL NO.|USB bus:device|IP|DEVNODE]

MODE


Run in graphical UI mode:
-u or --gui (Default)

Run in interactive mode:
-i or --interactive

OPTIONS


Automatic mode:
-a or --auto (-i mode only)

To specify the port on a multi-port JetDirect:
--port=<port> (Valid values are 1*, 2, and 3. *default)

No testpage in automatic mode:
-x (-i mode only)

To specify a CUPS printer queue name:
-p<printer> or --printer=<printer> (-i mode only)

To specify a CUPS fax queue name:
-f<fax> or --fax=<fax> (-i mode only)

Type of queue(s) to install:
-t<typelist> or --type=<typelist>. <typelist>: print*, fax* (*default) (-i mode
only)

To specify the device URI to install:
-d<device> or --device=<device> (--qt4 mode only)

Remove printers or faxes instead of setting-up:
-r or --rm or --remove

Set the language:
--loc=<lang> or --lang=<lang>. Use --loc=? or --lang=? to see a list of available
language codes.

Set the logging level:
-l<level> or --logging=<level> <level>: none, info*, error, warn, debug (*default)

Run in debug mode:
-g (same as option: -ldebug)

This help information:
-h or --help

SERIAL NO.|USB ID|IP|DEVNODE


USB bus:device (usb only):
"xxx:yyy" where 'xxx' is the USB bus and 'yyy' is the USB device. (Note: The ':'
and all leading zeros must be present.) Use the 'lsusb' command to obtain this
information.

IPs (network only):
IPv4 address "a.b.c.d" or "hostname"

DEVNODE (parallel only):
"/dev/parportX", X=0,1,2,...

SERIAL NO. (usb and parallel only):
"serial no."

EXAMPLES


Setup using GUI mode:
$ hp-setup

Setup using GUI mode, specifying usb:
$ hp-setup -b usb

Setup using GUI mode, specifying an IP:
$ hp-setup 192.168.0.101

One USB printer attached, automatic:
$ hp-setup -i -a

USB, IDs specified:
$ hp-setup -i 001:002

Network:
$ hp-setup -i 66.35.250.209

Network, Jetdirect port 2:
$ hp-setup -i --port=2 66.35.250.209

Parallel:
$ hp-setup -i /dev/parport0

USB or parallel, using serial number:
$ hp-setup -i US12345678A

USB, automatic:
$ hp-setup -i --auto 001:002

Parallel, automatic, no testpage:
$ hp-setup -i -a -x /dev/parport0

Parallel, choose device:
$ hp-setup -i -b par

NOTES


1. If no serial number, USB ID, IP, or device node is specified, the USB and parallel
busses will be probed for devices.

2. Using 'lsusb' to obtain USB IDs: (example)

$ lsusb

Bus 003 Device 011: ID 03f0:c202 Hewlett-Packard

$ hp-setup --auto 003:011

(Note: You may have to run 'lsusb' from /sbin or another location. Use '$ locate lsusb'
to determine this.)

3. Parameters -a, -f, -p, or -t are not valid in GUI (-u) mode.

Use hp-setup online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 2
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 3
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • 4
    Shadowsocks
    Shadowsocks
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    https://sourceforge.net/projects/shadowsocksgui/.
    It ha...
    Download Shadowsocks
  • 5
    GLPI Themes
    GLPI Themes
    Download release at
    https://github.com/stdonato/glpi-modifications/
    Color themes for GLPI 0.84 and 0.85 New
    Modifications for GLPI This is an
    application that c...
    Download GLPI Themes
  • 6
    SMPlayer
    SMPlayer
    SMPlayer is a free media player for
    Windows and Linux with built-in codecs
    that can also play YouTube videos. One
    of the most interesting features of
    SMPlayer:...
    Download SMPlayer
  • More »

Linux commands

Ad