lpq

This diagnostic utility is used to obtain status of a print queue on a host running the LPD server.

Syntax

lpq -SServer -PPrinter [-l]

Parameters

-SServer

Specifies the name of the host that has the printer attached to it.

-PPrinter

Specifies the name of the printer for the desired queue.

-l

Specifies that a detailed status should be given.