papstatus - get the status of an AppleTalk-connected printer
[-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
If no printer is specified on the command line, papstatus
looks for a
file called .paprc
in the current directory and reads it to obtain the
name of a printer. The .paprc
file should contain a single line of the
where each of
must be proceeded by ` :
and ` @
´ respectively. Blank lines and lines the begin with a
´ are ignored. type
and the zone of the local host, respectively.
Turns on a debugging mode that prints some
extra information to standard error.
Get status from printer (do not consult
any .paprc files to find a printer name). The syntax for printer
is the same as discussed above for the .paprc file.
Normally, papstatus only gets the
status from the printer once. If retrytime is specified, the status is
obtained repeatedly, with a sleep of retrytime seconds between
inquiring the printer.
file that contains printer name