papstatus - get the status of an AppleTalk-connected printer
/usr/sbin/papstatus [-d] [-p printer] [retrytime]
is used to obtain the current status message from an AppleTalk connected printer. It uses the Printer Access Protocol (PAP) to obtain the status information.
If no printer is specified on the command line,
looks for a file called
in the current directory and reads it to obtain the name of a printer. The
file should contain a single line of the form
where each of
must be proceeded by `:' and `@' respectively. Blank lines and lines the begin with a `#' are ignored.
and the zone of the local host, respectively.
Turns on a debugging mode that prints some extra information to standard error.
Get status from
(do not consult any
files to find a printer name). The syntax for
is the same as discussed above for the
only gets the status from the printer once. If
is specified, the status is obtained repeatedly, with a sleep of
seconds between inquiring the printer.