Linux Commands Examples

A great documentation place for Linux commands


Printer Discovery Utility


hp-probe [OPTIONS]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!



Find all devices on the network:

hp-probe -bnet

Find all devices on USB that support scanning:

hp-probe -busb -escan

Find all networked devices that contain the name ’lnx’ and that support
photo cards or scanning:

hp-probe -bnet -slnx -escan,pcard

Find all devices that have queues installed in CUPS:

hp-probe -bcups

Find all devices on the USB bus:



Discover HPLIP supported USB, parallel, and network attached printers.


Bus to probe:

-b<bus> or --bus=<bus> <bus>: cups, usb*, net, bt, fw, par (*default) (Note: bt and fw not supported in this release.)

Set Time to Live (TTL):

-t<ttl> or --ttl=<ttl> (Default is 4).

Set timeout:

-o<timeout in secs.> or --timeout=<timeout is secs.>

Filter by functionality:

-e<filter list> or --filter=<filter list> <filter list>: comma separated list of one or more of: scan, pcard, fax, copy, or none*. (*none is the default)


-s<search re> or --search=<search re> <search re> must be a valid regular expression (not case sensitive)

Network discovery method:

-m<method> or --method=<method>: <method> is ’slp’* or ’mdns’.

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


Copyright (c) 2001-13 Hewlett-Packard Development Company, L.P.

This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details.

reporting bugs

The HPLIP site is available to get help, report bugs, make suggestions, discuss the HPLIP project or otherwise contact the HPLIP Team.


HPLIP (Hewlett-Packard Linux Imaging and Printing) is an HP developed solution for printing, scanning, and faxing with HP inkjet and laser based printers in Linux.

How can this site be more helpful to YOU ?

give  feedback