lpc
system administrationLinux/Unix
The lpc command is one of the most frequently used commands in Linux/Unix-like operating systems. lpc Line printer control program
Quick Reference
Command Name:
lpc
Category:
system administration
Platform:
Linux/Unix
Basic Usage:
lpc [options] [arguments]
Common Use Cases
Syntax
lpc [command [argument ...]]
Options
Command | Description |
---|---|
abort {all | printer} |
Terminate an active spooling daemon on the local host |
clean {all | printer} |
Remove all jobs from the specified printer queue |
disable {all | printer} |
Turn the specified printer queue off |
down {all | printer} message |
Disable printing and spooling with a message |
enable {all | printer} |
Enable printing on the specified printer |
exit |
Exit from lpc |
help [command] |
Display help information |
quit |
Exit from lpc |
restart {all | printer} |
Restart printer daemon(s) |
start {all | printer} |
Enable printing and start the spooling daemon |
status {all | printer} |
Display the status of daemons and queues |
stop {all | printer} |
Stop the spooling daemon after current job completes |
topq printer [jobnum...] |
Move the specified jobs to the top of the printer queue |
up {all | printer} |
Enable printing and spooling |
Examples
How to Use These Examples
The examples below show common ways to use the lpc
command. Try them in your terminal to see the results. You can copy any example by clicking on the code block.
# Basic Examples Basic
lpc status