File: lpd.8

package info (click to toggle)
manpages-ja 0.5.0.0.20100315-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 21,156 kB
  • ctags: 1
  • sloc: sh: 13,935; perl: 157; makefile: 114
file content (249 lines) | stat: -rw-r--r-- 7,406 bytes parent folder | download | duplicates (5)
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
.\"	$OpenBSD: lpd.8,v 1.5 1997/07/17 07:43:07 deraadt Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\"	The Regents of the University of California.  All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\"    must display the following acknowledgement:
.\"	This product includes software developed by the University of
.\"	California, Berkeley and its contributors.
.\" 4. Neither the name of the University nor the names of its contributors
.\"    may be used to endorse or promote products derived from this software
.\"    without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\"     @(#)lpd.8	8.3 (Berkeley) 4/19/94
.\"
.\" Japanese Version Copyright (c) 2000 Hirohisa AMAN,
.\"     <aman@soft.comp.kyutech.ac.jp> all right reserved.
.\"
.Dd April 19, 1994
.Dt LPD 8
.Os BSD 4.4
.Sh ̾
.Nm lpd
.Nd 饤ץ ס顼 ǡ
.Sh 
.Nm lpd
.Op Fl l
.Sh 
.Nm lpd
ϡ饤ץ󥿥ǡ (סΰϥɥ顼) Ǥꡢư
.Xr rc 8
ե뤫ƤӽФΤ̤Ǥ롣
ϡ
.Xr printcap 5
եҤȤȤĴ٤ƥץ󥿾ꤷå˻ĤƤ
ե뤬Ф򤹤٤ư롣ơƥॳ
.Xr listen 2
ڤ
.Xr accept 2
Ѥơ塼ˤեΰ׵ա
סΰؤΥեž塼ɽ
ʤӤ˥塼Υ֤κԤʤ
ξ⡢ҥץե(fork)׵
ƥץϰ³¾׵褦ˤƤ롣
.Pp
ץ :
.Bl -tag -width Ds
.It Fl l
.Fl l
ե饰ΩƤȡ
.Nm lpd
ϥͥåȥäͭ׵ΥȤ롣
ϡǥХåԤʤΤͭѤǤ롣
.El
.Pp
ˤ 2 Ĥˡ롣ޤ 1 ܤϡ
.Pa /etc/hosts.equiv
.Pa /etc/hosts.lpd
ե󤵤Ƥޥ󤫤׵ΤߤդȤΤǤ롣
2 ܤˡϡ⤷
.Li rs
褦ȤƤץ󥿤
.Xr printcap
ȥ˻ꤷƤС
Υץ󥿤³Ƥޥ˥Ȥä桼˸¤ꡤ
.Em lpr
׵᤬ȤΤǤ롣
.Pp
饤ץ󥿥塼ǥƻȤ̤ȤΤʤ褦
ƥסǥ쥯ȥΥե
.Em minfree
ˤϡȤƻĤƤǥ֥åο񤭹ޤ롣

.Em minfree
Խˤϡʤ륨ǥȤäƤ⹽ʤ
.Pp
ǡϡ¾ŪΤΥå()򥻥åȤ塢
եν򳫻Ϥסǥ쥯ȥĴ١
.Em cf
ǻϤޤե򤵤

.Em cf
եǤϡ٤ե(ʳ)¹Ԥ
٤ưꤵƤ롣Τ줾ιԤϡĤΥʸǻϤޤ
ƤꡢϤιԤλĤʬȤȤ˲򤹤٤ɽƤ롣
.Bl -tag -width Ds
.It J
֤̾Сȥڡˤƥ̾ȤƻȤʸ
.It C
ʬࡣСȥڡˤʬԤ˻Ȥʸ
.It L
ƥ롣ѥɥե뤫줿̾
ϡХʡڡ롣
.It T
ȥ롣
.Xr pr 1
ΥȥȤƻȤʸ
.It H
ۥ̾
.Xr lpr
ƤӽФ줿ޥ̾
.It P
͡
.Xr lpr
ƤӽФͤΥ̾
ϡͭǧ뤿
.Xr lprm
ˤäѤ롣
.It M
ߤΥץȥ֤λǡꤵ줿桼Фƥ᡼롣
.It f
줿ե롣ե(ϡƤ)̾
.It l
``f'' ˻Ƥ뤬ʸ̤ڡ򤵤ʤ
.It p
.Xr pr 1
ե륿ȤƻȤȤǰ٤ե̾
.It t
troff ե롣Ƥ
.Xr troff 1
(cat ̿ޥ)νϤǤ롣
.It n
ditroff ե롣ƤϥǥХ¸ troff ϤǤ롣
.It r
DVI ե롣Ƥ
.Tn Tex 
ϤǤ롣
DVI եޥåȤϡեؤdzȯ줿ΤǤ롣
.It g
եե롣Ƥ
.Xr plot 3
ˤäƺ줿ǡǤ롣
.It c
cifplot ե롣Ƥ
.Em cifplot
ˤäƺ줿ǡǤ롣
.It v
饹᡼(raster image)ե롣
.It r
FORTRAN åʸ(FORTRAN carriage control characters)ޤƥȥǡʤե롣
.It \&1
troff Υե R 
ǥեȤ˻Ѥեȥե̾
.It \&2
troff Υե I 
ǥեȤ˻Ѥեȥե̾
.It \&3
troff Υե B 
ǥեȤ˻Ѥեȥե̾
.It \&4
troff Υե S 
ǥեȤ˻Ѥեȥե̾
.It W

.Xr pr 1
ƥȥե륿ǻѤڡ(ʸǻ)ѹ롣
.It I
ǥȡϤ˻ܤǥȤ(ʸǤ)ʸ
.It U
(unlink)λ˺ե̾
.It N
ե̾ե̾ɸ(
.Xr lpr
ѥץ饤ˤƸƤӽФ줿)ξ϶
.El
.Pp
⤷ե򥪡ץǤʤȤϡ
.Em LOG_LPR
ǽȤ
.Xr syslog 3
̤ƥåϿ롣
.Nm lpd
ϡΥեΰޤǤ˺ 20 ޤǺƥץߤ롣
.Pp
.Nm lpd
ϡ
.Xr flock 2
Ȥäƥåեؤ¾Ū󶡤
ʣΥǡƱ˥ƥ֤ˤʤΤɤ
⤷԰դ˥ǡ󤬻줿ꤷƤ⡢åե
ɬפϤʤ
åեϡɤळȤβǽ
.Tn ASCII
ݻ졢2 ĤιԤ򤽤ƤȤƤ롣
1 ܤϥǡΥץ id Ǥꡢ2 ܤϸߤΰ֤
ե̾Ǥ롣
2 ܤϡ
.Xr lpq 1

.Xr lprm 1
˻Ȥ뤿ᡢ
.Nm lpd
θߤξ֤ȿǤ褦롣
.Sh ե
.Bl -tag -width "/var/spool/*/minfree" -compact
.It Pa /etc/printcap
ץ󥿵ҥե
.It Pa /var/spool/*
סǥ쥯ȥ(νޤ)
.It Pa /var/spool/*/minfree
»ĤƤ٤ΰ
.It Pa /dev/lp*
饤ץ󥿥ǥХ
.It Pa /var/run/printer
Ǥ׵Ф륽å(socket)
.It Pa /etc/hosts.equiv
ץ󥿤ؤΥĤƤޥ̾Υꥹ
.It Pa /etc/hosts.lpd
ץ󥿤ؤΥϵĤƤ뤬Ʊβˤ֤Ƥʤ
ޥ̾Υꥹ
.El
.Sh Ϣ
.Xr lpc 8 ,
.Xr pac 8 ,
.Xr lpr 1 ,
.Xr lpq 1 ,
.Xr lprm 1 ,
.Xr syslog 3 ,
.Xr printcap 5
.Rs

.%T "BSD 4.3 饤ץ󥿥ޥ˥奢"
.Re
.Sh 
.Nm
ǡϡVersion 6 AT&T UNIX о줷