mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-26 00:52:50 +00:00
Update cheatsheets
This commit is contained in:
25
lpstat
Normal file
25
lpstat
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# lpstat
|
||||
|
||||
> Show status information about printers.
|
||||
> More information: <https://manned.org/lpstat>.
|
||||
|
||||
- List printers present on the machine and whether they are enabled for printing:
|
||||
|
||||
`lpstat -p`
|
||||
|
||||
- Show the default printer:
|
||||
|
||||
`lpstat -d`
|
||||
|
||||
- Display all available status information:
|
||||
|
||||
`lpstat -t`
|
||||
|
||||
- List print jobs queued by a specific user:
|
||||
|
||||
`lpstat -u {{user}}`
|
||||
Reference in New Issue
Block a user