1PAPSTATUS(8) Netatalk 2.1 PAPSTATUS(8)
2
3
4
6 papstatus - get the status of an AppleTalk-connected printer
7
9 /usr/sbin/papstatus [-d] [-p printer] [retrytime]
10
12 papstatus is used to obtain the current status message from an
13 AppleTalk connected printer. It uses the Printer Access Protocol (PAP)
14 to obtain the status information.
15
16 If no printer is specified on the command line, papstatus looks for a
17 file called .paprc in the current directory and reads it to obtain the
18 name of a printer. The .paprc file should contain a single line of the
19 form object:type@zone where each of object, :type, and @zone are
20 optional. type and zone must be proceeded by `:´ and `@´ respectively.
21 Blank lines and lines the begin with a `#´ are ignored. type and zone
22 default to LaserWriter and the zone of the local host, respectively.
23
25 -d
26 Turns on a debugging mode that prints some extra information to
27 standard error.
28
29 -p printer
30 Get status from printer (do not consult any .paprc files to find a
31 printer name). The syntax for printer is the same as discussed
32 above for the .paprc file.
33
34 retrytime
35 Normally, papstatus only gets the status from the printer once. If
36 retrytime is specified, the status is obtained repeatedly, with a
37 sleep of retrytime seconds between inquiring the printer.
38
40 .paprc
41 file that contains printer name
42
44 nbp(1), pap(1)
45
46
47
48Netatalk 2.1 17 Dec 1991 PAPSTATUS(8)