HP Distributed Print Service Administration Guide

Appendix A 413
NT Interoperability with HPDPS
NT to HPDPS Print Commands
lpq command. Use this command on NT to get printer and job status.
Syntax:
lpq -S
server-host
-P
printer-name
[ -l ]
Where:
-S
server-host
is the name or IP address of the
server host running HPDPS
-P
printer-name
is the name of the HPDPS printer
-l indicates verbose output
For example, if you want to get printer and job status for an HPDPS
logical printer LogPrt1 which resides on host host1.myco.com, use:
lpq -S host1.myco.com -P LogPrt1
NOTE In the above commands, the position of each of the options are
interchangeable so that, for example, you can precede -S with -P.