mirror of https://github.com/CrimsonTome/tldr.git
Merge pull request #349 from igorshubovych/fix-lpstat
Update lpstat command: add 2 exampleswaldyrious/alt-syntax
commit
770312f3c9
|
@ -1,11 +1,19 @@
|
||||||
# lpstat
|
# lpstat
|
||||||
|
|
||||||
> print status information about printers
|
> show status information about printers
|
||||||
|
|
||||||
- List printers present on the machine and whether they are enabled for printing.
|
- List printers present on the machine and whether they are enabled for printing.
|
||||||
|
|
||||||
`lpstat -p`
|
`lpstat -p`
|
||||||
|
|
||||||
- Print the default printer name.
|
- Show the default printer.
|
||||||
|
|
||||||
`lpstat -d`
|
`lpstat -d`
|
||||||
|
|
||||||
|
- Display all available status information.
|
||||||
|
|
||||||
|
`lpstat -t`
|
||||||
|
|
||||||
|
- Show a list of print jobs queued by the specified user.
|
||||||
|
|
||||||
|
`lpstat -u {{user}}`
|
||||||
|
|
Loading…
Reference in New Issue