1 .\" Copyright (c) 1983, 1990, 1993
2 .\" The Regents of the University of California. All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
12 .\" 3. All advertising materials mentioning features or use of this software
13 .\" must display the following acknowledgement:
14 .\" This product includes software developed by the University of
15 .\" California, Berkeley and its contributors.
16 .\" 4. Neither the name of the University nor the names of its contributors
17 .\" may be used to endorse or promote products derived from this software
18 .\" without specific prior written permission.
20 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 .\" @(#)lpq.1 8.1 (Berkeley) 6/6/93
39 .Nd キューに登録されている印刷ジョブの確認を行う
43 .Op Fl P Ns Ar printer
48 は、ラインプリンタにファイルをプリントアウトするために
51 指定したジョブもしくはすべてのジョブの状態を報告します。
53 を引数を指定せずに実行したときは、現在、キュー内にあるすべての
58 .Bl -tag -width indent
62 を使わない場合は、デフォルトのラインプリンタ
67 ジョブエントリを構成するファイルのそれぞれについての情報を
68 表示します。たいていは 1 行に収まる程度の情報が表示されます。
76 キュー内でのランク、ジョブが持っているファイルの名前、ジョブ識別子 (特
80 番号)、そして合計のサイズを報告します。ジョブの順番はスプールディレク
83 (First In First Out) であ
84 ると仮定しています。ジョブのファイル名がわからない場合
86 がパイプラインで接続された場合など) は、ファイル名は ``(standard input)'' と
91 がデーモンがないと警告した場合 (何かの不調が原因である)、
93 コマンドを用いてプリンタデーモンをリスタートさせてください。
95 .Bl -tag -width PRINTER
100 .Bl -tag -width /usr/share/misc/termcap -compact
104 スプールディレクトリ。printcap での設定により決まる
105 .It Pa /var/spool/*/cf*
107 .It Pa /var/spool/*/lock
108 現在アクティブなジョブを得るためのロックファイル
109 .It Pa /usr/share/misc/termcap
110 繰り返して表示するときに画面を操作するために用いる