File: papstatus.8.tmpl

package info (click to toggle)
netatalk 2.0.3-4
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 9,004 kB
  • ctags: 6,109
  • sloc: ansic: 67,633; sh: 8,424; perl: 1,187; makefile: 1,001
file content (46 lines) | stat: -rw-r--r-- 1,650 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
.TH papstatus 8 "17 Dec 1991" 2.0.3 Netatalk 
.SH NAME
papstatus \- get the status of an AppleTalk\-connected printer
.SH SYNOPSIS
\fB:SBINDIR:/papstatus\fR [\-d] [ \-p \fBprinter\fR ] [\fBretrytime\fR]
.SH DESCRIPTION
\fIpapstatus\fR 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.
.PP
If no printer is specified on the command line, \fIpapstatus\fR
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 \fIobject\fR\fI:\fR\fI\fR\fItype\fR\fI@\fR\fI\fR\fIzone\fR
where each of \fIobject\fR, \fI:\fR\fItype\fR\fI,\fR and \fI@\fR\fIzone\fR are optional.
\fItype\fR and \fIzone\fR
must be proceeded by `\fI:\fR' and `\fI@\fR' respectively. Blank lines and lines the begin
with a `\fI#\fR' are ignored. \fItype\fR and \fIzone\fR default
to \fILaserWriter\fR and the zone of the local
host, respectively.
.SH OPTIONS
.TP 
\fB\-d\fR
Turns on a debugging mode that prints some extra information
to standard error.
.TP 
\fB\-p\fR \fIprinter\fR
Get status from \fIprinter\fR (do not
consult any .paprc files to find a printer name).
The syntax for \fIprinter\fR is the same as
discussed above for the .paprc file.
.TP 
\fIretrytime\fR
Normally, \fIpapstatus\fR only gets
the status from the printer once. If \fIretrytime\fR
is specified, the status is obtained repeatedly, with a sleep of
\fIretrytime\fR seconds between inquiring
the printer.
.SH FILES
.TP 
\&.paprc
file that contains printer name
.SH "SEE ALSO"
\fBnbp\fR(1),
\fBpap\fR(1)