- Unix Commands Reference
- Unix - Tutorial Home
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
lpc - Unix, Linux Command
NAMElpc - line printer control program
SYNOPSISlpc [ command [ parameter(s) ] ]
DESCRIPTIONlpc 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 will display a prompt and accept commands from the standard input.
COMMANDSThe lpc program accepts a subset of commands accepted by the Berkeley lpc program of the same name:
|exit||Exits the command interpreter.|
|Displays a short help message.|
|quit||Exits the command interpreter.|
|Displays the status of one or more printer or class queues.|
LIMITATIONSSince lpc is geared towards the Berkeley printing system, it is impossible to use lpc to configure printer or class queues provided by CUPS. To configure printer or class queues you must use the lpadmin(8) command or another CUPS-compatible client with that functionality.
COMPATIBILITYThe CUPS version of lpc does not implement all of the standard Berkeley or LPRng commands.
COPYRIGHTCopyright 2007 by Apple Inc.