Note: The "-" at the end of the command is necessary.
The job can be determined by using the above lpq command.
lpc is used to display the status of the print spooling system and control the availability. A print queue relates to an individual printer. The spool deamon relates to all printers.
Place the jobs in the order listed at the top of the printer queue.
Remove any temporary files, data files, and control files that cannot be printed from the specified printer queue(s) on the local machine.
Put message in the printer status file. The message doesn't need to be quoted.
Start a spooling daemon for the listed printers.
daemon to die unexpectedly, leaving jobs in the queue. Lpq will report that there is no daemon present when this condition occurs. If the user is the super-user, try to abort the current daemon first (i.e., kill and restart a stuck daemon).
The configuration and controls for each printer are stored in /etc/printcap. The spooling system accesses the printcap file every time a print job is issued. Each entry is used to describe one printer.
The second entry is a print queue named lp.
It is the same as hp8500 except it sends the data as text instead of raw.