24 lines
431 B
Markdown
24 lines
431 B
Markdown
# lpstat
|
|
|
|
> 显示当前类别、作业和打印机的状态信息。
|
|
> 更多信息:<https://keith.github.io/xcode-man-pages/lpstat.1.html>。
|
|
|
|
- 显示打印机、类别和作业的详细列表:
|
|
|
|
`lpstat -l`
|
|
|
|
- 强制在连接到 CUPS 服务器时进行加密:
|
|
|
|
`lpstat -E`
|
|
|
|
- 显示打印作业的排名:
|
|
|
|
`lpstat -R`
|
|
|
|
- 显示 CUPS 服务器是否正在运行:
|
|
|
|
`lpstat -r`
|
|
|
|
- 显示所有状态信息:
|
|
|
|
`lpstat -t` |