hp-setup

Printer/Fax Setup Utility

Help

HP Linux Imaging and Printing System (ver. 3.21.2) 
Printer/Fax Setup Utility ver. 9.0 

Copyright (c) 2001-18 HP Development Company, LP 
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. 


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. 

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

[MODE] 
  Run in graphical    -u or --gui (Default)                                  
  UI mode:                                                                   
  Run in interactive  -i or --interactive                                    
  mode:                                                                      

[OPTIONS] 
  Automatic mode:     -a or --auto (-i mode only)                            
  To specify the      --port= (Valid values are 1*, 2, and 3.          
  port on a           *default)                                              
  multi-port                                                                 
  JetDirect:                                                                 
  No testpage in      -x (-i mode only)                                      
  automatic mode:                                                            
  To specify a CUPS   -p or --printer= (-i mode only)      
  printer queue                                                              
  name:                                                                      
  To specify a CUPS   -f or --fax= (-i mode only)                  
  fax queue name:                                                            
  Type of queue(s)    -t or --type=. : print*, 
  to install:         fax* (*default) (-i mode only)                         
  To specify the      -d or --device= (--qt4 mode only)      
  device URI to                                                              
  install:                                                                   
  Remove printers or  -r or --rm or --remove                                 
  faxes instead of                                                           
  setting-up:                                                                
  Set the language:   --loc= or --lang=. Use --loc=? or --lang=? 
                      to see a list of available language codes.             
  Set the logging     -l or --logging=                         
  level:                                                                     
                      : none, info*, error, warn, debug (*default)    
  Run in debug mode:  -g (same as option: -ldebug)                           
  This help           -h or --help                                           
  information:                                                               

[SERIAL NO.|USB ID|IP|DEVNODE] 
  USB bus:device      "xxx:yyy" where 'xxx' is the USB bus and 'yyy' is the  
  (usb only):         USB device. (Note: The ':' and all leading zeros must  
                      be present.)                                           
                      Use the 'lsusb' command to obtain this information.    
  IPs (network        IPv4 address "a.b.c.d" or "hostname"                   
  only):                                                                     
  DEVNODE (parallel   "/dev/parportX", X=0,1,2,...                           
  only):                                                                     
  SERIAL NO. (usb     "serial no."                                           
  and parallel                                                               
  only):                                                                     

Examples: 
  Setup using GUI     $ hp-setup                                             
  mode:                                                                      
  Setup using GUI     $ hp-setup -b usb                                      
  mode, specifying                                                           
  usb:                                                                       
  Setup using GUI     $ hp-setup 192.168.0.101                               
  mode, specifying                                                           
  an IP:                                                                     
  One USB printer     $ hp-setup -i -a                                       
  attached,                                                                  
  automatic:                                                                 
  USB, IDs            $ hp-setup -i 001:002                                  
  specified:                                                                 
  Network:            $ hp-setup -i 66.35.250.209                            
  Network, Jetdirect  $ hp-setup -i --port=2 66.35.250.209                   
  port 2:                                                                    
  Parallel:           $ hp-setup -i /dev/parport0                            
  USB or parallel,    $ hp-setup -i US12345678A                              
  using serial                                                               
  number:                                                                    
  USB, automatic:     $ hp-setup -i --auto 001:002                           
  Parallel,           $ hp-setup -i -a -x /dev/parport0                      
  automatic, no                                                              
  testpage:                                                                  
  Parallel, choose    $ hp-setup -i -b par                                   
  device:                                                                    

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. 

See Also: 
hp-makeuri 
hp-probe 

Copied to clipboard
Earn up to $40 for learning about crypto currencies