Emulex NP02 Printer User Manual


 
UNIX TCP/IP 4-19
LPSTAT
Use LPSTAT to determine the current status of a printer connected to the
printer server.
From any host terminal:
1) Enter:
>
#lpstat -o printer_name
printer_name The remote printer queue name.
2) Verify display.
The screen displays the number of jobs in the queue, and a line for each
job, listing the job name and origination.
For example:
> #lpstat -o emlx _txt
3 jobs for emlx are found in the example:
nq001 from host king - printing
nq002 from host queen
nq003 from host king
If there are no jobs in the queue, the command returns a blank line.
Configure for Syslog Support
UNIX Syslog Support provides the ability to log certain printer status
changes. Messages are logged into a standard UNIX syslog facility at one or
more UNIX hosts or other hosts supporting the TCP/IP Syslog facility.
NOTE: Knowledge in the administration of the syslog
facility on the UNIX syslog server host is required.: