Quick notes about printing in linux
What's the default printer?
$ lpq
List all printer queues and their status:
$ lpstat -a
Quick pretty output:
$ (OPERATION) | a2ps -E --printer=$NAME
$ a2ps -E file
a2ps:
Flag | Meaning |
---|
-E | use nice pretty-printing |
--printer=NAME | print to print queue NAME instead of the default queue |
Kill or cancel a job:
See also:
Cups keeps dying