Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)

User Commands (k - l) lpstat(1)
TZ Determines the time zone to be used with date and time strings.
EXAMPLES
1. To display the default destination, enter:
lpstat -d
If the operation is successful, the destination name and a zero exit status are returned.
2. To display the status of all the jobs sent to the printer with the alias hplp by users with
the login names rose, bill, and raj,enter:
lpstat -u rose, bill, raj -p hplp
EXIT VALUES
The following exit values are returned:
0 Completion was successful.
>0 An error occurred.
RELATED INFORMATION
Commands: lp(1).
STANDARDS CONFORMANCE
The lpstat command complies with the XPG4 Version 2 specication with extensions, except for
the following feature:
The -c ag is not supported because the Guardian environment does not recognize
printer classes. If the -c ag is used, the lpstat command issues the following message:
printer classes not supported.
527188-007 Hewlett-Packard Company 577