OSDN Git Service

Convert release and draft pages to UTF-8.
[linuxjm/jm.git] / manual / netatalk / draft / man1 / pap.1
1 .\"
2 .\" Japanese Version Copyright (c) 2001-2004 Yuichi SATO
3 .\"         all rights reserved.
4 .\" Translated Tue Mar 13 19:47:11 JST 2001
5 .\"         by Yuichi SATO <sato@complex.eng.hokudai.ac.jp>
6 .\" Updated & Modified Wed Feb 11 16:50:01 JST 2004
7 .\"         by Yuichi SATO <ysato444@yahoo.co.jp>
8 .\"
9 .TH PAP 1 "6 May 2002" "netatalk 1.5"
10 .\"O .SH NAME
11 .SH 名前
12 .\"O pap, papstatus \- client interface to remote printers using Printer Access Protocol
13 pap, papstatus \- Printer Access Protocol を使ったリモートプリンタのクライアントインターフェース
14 .\"O .SH SYNOPSIS
15 .SH 書式
16 .B pap
17 [
18 .B -A
19 .I address
20 ] [
21 .B -c
22 ] [
23 .B -d
24 ] [
25 .B -e
26 ] [
27 .B -E
28 ] [
29 .B -p
30 .I nbpname
31 ] [
32 .B -s
33 .I statusfile
34 ] [
35 .B -w
36 ] [
37 .B -W
38 ] [
39 .I FILES
40 ]
41 .sp
42 .B papstatus
43 [
44 .B -p
45 .I nbpname
46 ]
47 .\"O .SH DESCRIPTION
48 .SH 説明
49 .\"O .B pap
50 .\"O is used to connect and send files to an AppleTalk connected printer using
51 .\"O the Apple Printer Access Protocol (PAP).
52 .B pap
53 は Apple Printer Access Protocol (PAP) を使って AppleTalk に接続された
54 プリンタに接続したりファイルを送ったりするのに使われる。
55 .\"O When
56 .\"O .B pap
57 .\"O starts execution, it
58 .\"O tries to open a session with the printer using PAP, and
59 .\"O then downloads the
60 .\"O .I files
61 .\"O to the printer.
62 .B pap
63 が実行を開始すると、
64 PAP を使ってプリンタとセッションをオープンしようと試み、
65 .I files
66 をプリンタにダウンロードする。
67 .LP
68 .\"O If no
69 .\"O .I files
70 .\"O are given on the command line,
71 .\"O .B pap
72 .\"O begins reading from standard input.
73 .I files
74 がコマンドライン上で指定されていない場合、
75 .B pap
76 は標準入力を読み込み始める。
77 .LP
78 .\"O If no printer is specified on the command line,
79 .\"O .B pap
80 .\"O looks for a file called
81 .\"O .B .paprc
82 .\"O in the current working directory and reads it to obtain the
83 .\"O .I nbpname
84 .\"O of a
85 .\"O printer.
86 プリンタがコマンドライン上で指定されていない場合、
87 .B pap
88 はカレントワーキングディレクトリ内の
89 .B .paprc
90 というファイルを探し、このファイルを読んでプリンタの
91 .I nbpname
92 を取得しようとする。
93 .\"O Blank lines and lines that begin with a
94 .\"O .RB ` # '
95 .\"O are ignored.
96 空行と
97 .RB ` # '
98 で始まる行は無視される。
99 .\"O .I type
100 .\"O and
101 .\"O .I zone
102 .\"O default to
103 .\"O .B LaserWriter
104 .\"O and the zone of the local host, respectively.
105 .I type
106
107 .I zone
108 のデフォルトは、それぞれ
109 .B LaserWriter
110 とローカルホストのゾーンである。
111 .LP
112 .\"O Note that
113 .\"O .B pap
114 .\"O is designed to be useful as a communication filter for sending
115 .\"O .BR lpd (8)
116 .\"O spooled print jobs to AppleTalk connected printers.  See
117 .\"O .BR psf (8)
118 .\"O for hints on how to use it this way.
119 .B pap
120
121 .BR lpd (8)
122 にスプールされる印刷ジョブを AppleTalk で接続されたプリンタに送るための
123 通信フィルタとして役立つように設計されている点に注意すること。
124 このように使用するためのヒントについては、
125 .BR psf (8)
126 を参照すること。
127 .\"O .SH OPTIONS
128 .SH オプション
129 .HP
130 .B -A
131 .I address
132 .br
133 .\"O Connect to the printer with Appletalk address
134 .\"O .I address
135 .\"O and do not consult the
136 .\"O .B .paprc
137 .\"O file to find a printer name.  See
138 .\"O .BR atalk_aton (3)
139 .\"O for the syntax of
140 .\"O .IR address .
141 Appletalk アドレス
142 .I address
143 のプリンタに接続し、プリンタ名を見つけるのに
144 .B .paprc
145 ファイルを調べない。
146 .I address
147 の書式については
148 .BR atalk_aton (3)
149 を参照すること。
150 .TP
151 .B -c
152 .\"O Take cuts.  The PAP protocol specified a simple queuing
153 .\"O procedure, such that the clients tell the printer how long
154 .\"O they have been waiting to print.  This option causes
155 .\"O .B pap
156 .\"O to lie about how long it has been waiting.
157 .\"Osato: take cuts の意味が不明。
158 停止して待たせる。
159 PAP プロトコルは
160 「クライアントがプリンタに対して印刷の待ち時間を知らせる」
161 という簡単なキュー手続きを指定する。
162 このオプションは、
163 .B pap
164 に対して、待っている時間に何もさせないようにする。
165 .TP
166 .B -d
167 .\"O Enable debug output.
168 デバッグ出力を有効にする。
169 .TP
170 .B -e
171 .\"O Send any message from the printer to stderr instead of stdout.
172 .\"O .BR psf (8)
173 .\"O invokes
174 .\"O .B pap
175 .\"O with this option.
176 プリンタからの全てのメッセージを、標準出力ではなく、標準エラー出力に送る。
177 .BR psf (8)
178 は、このオプションを付けて
179 .B pap
180 を起動する。
181 .TP
182 .B -E
183 .\"O Don't wait for EOF from the printer.  This option is useful
184 .\"O for printers which don't implement PAP correctly.  In a correct
185 .\"O implementation, the client side should wait for the printer to
186 .\"O return EOF before closing the connection.  Some clients don't
187 .\"O wait, and hence some printers have related bugs in their
188 .\"O implementation.
189 プリンタからの EOF を待たない。
190 このオプションは、PAP を正しく実装していないプリンタに対して役立つ。
191 正しい実装では、クライアント側は接続を閉じる前に
192 プリンタが EOF を返すのを待たなければならない。
193 EOF を待たないクライアントがあるので、
194 それに関連したバグを持った実装をしているプリンタもある。
195 .HP
196 .B -p
197 .I nbpname
198 .br
199 .\"O Connect to the printer named
200 .\"O .I nbpname
201 .\"O and do not consult the
202 .\"O .B .paprc
203 .\"O file to find a printer name.  See
204 .\"O .BR nbp_name (3)
205 .\"O for the syntax of
206 .\"O .IR nbpname .
207 .I nbpname
208 という名前のプリンタに接続する。
209 プリンタ名を見付けるために
210 .B .paprc
211 ファイルを調べない。
212 .IR nbpname
213 の書式は
214 .BR nbp_name (3)
215 を参照すること。
216 .HP
217 .B -s
218 .I statusfile
219 .br
220 .\"O Update the file called
221 .\"O .I statusfile
222 .\"O to contain the most recent status message from the printer.
223 プリンタからの最新状態メッセージが書き込まれている
224 .I statusfile
225 という名前のファイルを更新する。
226 .\"O .B pap
227 .\"O gets the status from the printer when it is waiting for the printer to
228 .\"O process input.  
229 .B pap
230 は、プリンタが入力を処理しているのを待つ間、プリンタから状態を取得する。
231 .\"O The
232 .\"O .I statusfile
233 .\"O will contain a single line terminated with a newline.  
234 .I statusfile
235 には改行で終端された 1 行がある。
236 .\"O This is useful
237 .\"O when
238 .\"O .B pap
239 .\"O is invoked by
240 .\"O .BR psf (8)
241 .\"O within
242 .\"O .BR lpd 's
243 .\"O spool directory.
244 .B pap
245
246 .BR lpd
247 のスプールディレクトリ内で
248 .BR psf (8)
249 によって起動される場合、
250 このオプションが便利である。
251 .TP
252 .B -w
253 .\"O Wait for the printer status to contain the word "waiting" before
254 .\"O sending the job.  This is to defeat printer-side spool available
255 .\"O on HP IV and V printers.
256 ジョブを送る前にプリンタ状態に "waiting" という単語が現れるのを待つ。
257 このオプションは、HP IV, V プリンタのプリンタ側スプールを無効にする。
258 .TP
259 .B -W
260 .\"O Wait for the printer status to contain the word "idle" before
261 .\"O sending the job.  This is to defeat printer-side spool available
262 .\"O on HP IV and V printers.
263 ジョブを送る前にプリンタ状態に "idle" という単語が現れるのを待つ。
264 このオプションは、HP IV, V プリンタのプリンタ側スプールを無効にする。
265 .\"O .SH FILES
266 .SH ファイル
267 .TP 20
268 .B .paprc
269 .\"O file read to obtain printer name if not specified on command line
270 プリンタ名がコマンドラインから指定されなかった場合に、
271 プリンタ名を取得するために読み込まれるファイル。
272 .\"O .SH SEE ALSO
273 .SH 関連項目
274 .BR nbp_name (3),
275 .BR atalk_aton (3),
276 .BR lpd (8),
277 .BR psf (8).