What command can be used to print the status of the printer’s queue?

After configuring printing on a Linux server, the administrator sends a test file to one of the printers and it fails to print. What command can be used to print the status of the printer’s queue?

(Provide only the command, without any options or parameters)

After configuring printing on a Linux server, the administrator sends a test file to one of the printers and it fails to print. What command can be used to print the status of the printer’s queue?

(Provide only the command, without any options or parameters)

Answer: lpq

Explanation/Reference:
From the man pages:
lpq  shows the current print queue status on the named printer. Jobs queued on the default destination will be shown if no printer or class is specified on the command-line.



Leave a Reply 0

Your email address will not be published. Required fields are marked *