FreeKB - Linux Commands lpc (list printers)
Linux Commands - lpc (list printers)

The lpc command will show the status of the available printers. You could also use the lpstat command.

lpc status
. . .
HP-Photosmart:
	printer is on device 'hp' speed -1
	queuing is enabled
	printing is enabled
	no entries
	daemon present

 

You may want to use the pr command to format a file for printing.

There are a few different commands that can be used to sent print jobs to the printer.

  • lp (Line print)
  • lpr (Line print request)
  • lpd (Line print daemon)

The lpq command can be used to view and cancel print jobs in the print queue. The lprm command can be used to remove print jobs.



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter bed76 in the box below so that we can be sure you are a human.




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |