Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)
lpstat(1) OSS Shell and Utilities Reference Manual
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 specification with extensions, except for
the following feature:
• The -c flag is not supported because the Guardian environment does not recognize
printer classes. If the -c flag is used, the lpstat command issues the following message:
printer classes not supported.
5−78 Hewlett-Packard Company 527188-021