3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
6 .\" Manual: Netatalk 2.2
7 .\" Source: Netatalk 2.2
10 .TH "PAPSTATUS" "8" "17 Dec 1991" "Netatalk 2.2" "Netatalk 2.2"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
16 .\" disable justification (adjust text to left margin only)
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
22 papstatus \- get the status of an AppleTalk\-connected printer
24 .HP \w'\fB:SBINDIR:/papstatus\fR\fB\fR\ 'u
25 \fB:SBINDIR:/papstatus\fR\fB\fR [\-d] [\-p\ \fIprinter\fR] [\fIretrytime\fR]
29 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\&.
31 If no printer is specified on the command line,
33 looks for a file called
35 in the current directory and reads it to obtain the name of a printer\&. The
37 file should contain a single line of the form
38 \fIobject\fR\fB:\fR\fItype\fR\fB@\fR\fIzone\fR
41 \fB:\fR\fItype\fR\fB,\fR
48 must be proceeded by `\fB:\fR\' and `\fB@\fR\' respectively\&. Blank lines and lines the begin with a `\fB#\fR\' are ignored\&.
54 and the zone of the local host, respectively\&.
59 Turns on a debugging mode that prints some extra information to standard error\&.
62 \fB\-p\fR \fIprinter\fR
68 files to find a printer name)\&. The syntax for
70 is the same as discussed above for the
79 only gets the status from the printer once\&. If
81 is specified, the status is obtained repeatedly, with a sleep of
83 seconds between inquiring the printer\&.
89 file that contains printer name