Linux command
lpc 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Show status of all printers
lpc status all
Show status of a specific printer
lpc status [printer]
Enter interactive mode
lpc
说明
lpc provides limited control over printer and class queues provided by CUPS. It can also be used to query the state of queues. If no command is specified on the command line, lpc displays a prompt and accepts commands from standard input. The CUPS version of lpc implements only a subset of the commands from the original Berkeley lpc program. It cannot be used to configure printer queues -- use lpadmin for configuration tasks.
参数
- status
- Show printer and queue status.
- exit, quit
- Exit the lpc command interpreter.
- help
- Display a short help message.
FAQ
What is the lpc command used for?
lpc provides limited control over printer and class queues provided by CUPS. It can also be used to query the state of queues. If no command is specified on the command line, lpc displays a prompt and accepts commands from standard input. The CUPS version of lpc implements only a subset of the commands from the original Berkeley lpc program. It cannot be used to configure printer queues -- use lpadmin for configuration tasks.
How do I run a basic lpc example?
Run `lpc status all` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does status do in lpc?
Show printer and queue status.