Chapter 11: Printing

Commands:

Command Description Examples
cancel The cancel utility cancels print requests $ cancel printer1-203
request "printer1-203" cancelled

$ cancel -u <username>

lp lp submits print requests to a destination. -d, -o, -n, -m

$ lp ~/fruit2
request id is printer1-203 (1 file(s))
lpsched The lpsched command starts or restarts the LP print service  
lpstat lpstat displays information about the current status of the LP print service to standard output $ lpstat printer1
printer1-106  root   587 Mar 22 16:06 on printer1
printer1-107  user2   85 Mar 22 16:10 on printer1
$