mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
487 B
Plaintext
22 lines
487 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# lpinfo
|
|
|
|
> List connected printers and installed drivers for the CUPS print server.
|
|
> More information: <https://openprinting.github.io/cups/doc/man-lpinfo.html>.
|
|
|
|
- List all the currently connected printers:
|
|
|
|
`lpinfo -v`
|
|
|
|
- List all the currently installed printer drivers:
|
|
|
|
`lpinfo -m`
|
|
|
|
- Search installed printer drivers by make and model:
|
|
|
|
`lpinfo --make-and-model "{{printer_model}}" -m`
|