Submit, check and cancel in the System V vocabulary
Submit, check and cancel in the System V vocabulary
Answer
lp -d spr -n 2 report.txt lpstat -p spr lpstat -o spr cancel spr-431
-d names the destination printer, -n the number of copies. lp answers with a request id like spr-431, and that whole string is what cancel wants.
S&K 3e ch6 §6.8