The Berkeley lpc(8) command is mostly for the superuser. Everyone can use a few of its commands; this article covers those.
You probably don't have the /etc or /usr/etc directory in your
lpc> prompt - then, when
you're done, type exit (or CTRL-d).
help statusstatus show status of daemon and queue lpc> ... lpc>
Or you can type a single lpc command from the shell prompt:
/etc/lpc status imagenimagen: queuing is enabled printing is enabled no entries no daemon present %
The printerwatches the queue for jobs that people submit with . If queueing is disabled (usually by the system administrator), lpr won't accept new jobs.
lpc controls only printers on your local host. lpc won't control printers connected to other hosts, though you can check the queue of jobs (if any) waiting on your local computer for the remote printer.
This tries to start a new printer daemon. Do this if something makes the daemon die while there are still jobs in the queue (lpq or lpc status will tell you this). It's worth trying when the system administrator is gone and the printer doesn't seem to be working. The printer name can be all to restart all printers. The printer name doesn't need an extra P. For example, to specify the foobar printer to lpr, you'd type lpr -Pfoobar. With lpc, use a command like restart foobar.
Quits from lpc.