|/usr/local/sbin/papstatus [-d] [-p printer] [retrytime]|
papstatus 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, 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 form object:type@zone where each of object, :type, and @zone are optional. type and zone must be proceeded by :' and @' respectively. Blank lines and lines the begin with a #' are ignored. type and zone default to LaserWriter and the zone of the local host, respectively.
-dTurns on a debugging mode that prints some extra information to standard error.
-p printerGet 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.
retrytimeNormally, 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.
.paprcfile that contains printer name
|Netatalk 2.2||PAPSTATUS (8)||17 Dec 1991|