lpstat
lpstat
The lpstat program prints status information about the LP spool system. The lpstat runstring is as follows:
CI> lpstatEach parameter not starting with a dash
If >file is given, then lpstat's output is redirected to that file, overwriting an existing file. If
>>file is given, then lpstat's output is appended to an existing file. If neither of these are given, then lpstat prints its output to the scheduling terminal.
Many of the options listed below take an optional parameter named list. If given, this parameter may be either:
DA single word not containing blanks or commas. For example:DA list of words separated by blanks or commas and enclosed in double quotes (””). For example:
The description of each option below indicates what kind of names are expected in the list parameter. If the list parameter is given, only information pertaining to the given names is shown. If the list parameter is not given, information for all the valid names is shown. For example:
CI> lpstatOptions
The options are:Note that for remote printers, only the status of the printers on the local system is shown. The acceptance status of printers on remote hosts is unknown. A remote printer that accepts requests will accept submissions on the local host for transfer to the remote host. However, the acceptance status of the printer on the remote host may be to reject submissions. In this case, the local host will place the remote printer in retry status with reason •remote host rejects submissions".
LP Spool System 231