doc/ja/man/man8/lptcontrol.8
Jun Kuriyama 58a7db482a Catching up to 3.2-19990603-STABLE.
Reviewed by:	Japanese Online Manual Project <man-jp@jp.FreeBSD.ORG>
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1999-06-06 22:02:17 +00:00

89 lines
2.1 KiB
Groff

.\"
.\" lptcontrol - a utility for manipulating the lpt driver
.\"
.\" 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.
.\"
.\"
.\" %Id: lptcontrol.8,v 1.7.2.2 1999/05/28 02:12:11 ghelmer Exp %
.\"
.\" jpman %Id: lptcontrol.8,v 1.3 1997/08/16 13:20:55 horikawa Stab %
.Dd September 3, 1994
.Dt LPTCONTROL 8
.Os FreeBSD 2
.Sh 名称
.Nm \&lptcontrol
.Nd lpt プリンタドライバ操作ユーティリティ
.Sh 書式
.Nm \&lptcontrol
.Cm -i
|
.Cm -p
|
.Cm -e
|
.Cm -s
.Op Fl d Ar device
.Sh 解説
.Nm
コマンドは、各
.Xr lpt 4
デバイスの割り込み駆動モード/拡張モード/
ポーリングモードを設定するために用いられます。
プリンタがあるモードから別のモードへ切り替えられると、
その切り替えは次回デバイスがオープンされたときに有効になります。
.Pp
拡張モードとは、パラレルポートインタフェースがサポート可能な任意のものです。
ECP/ISA パラレルポートにおいては、FIFO+DMA または ECP でしょう。
.Sh オプション
.TP
以下のコマンドラインオプションがサポートされています:
.Bl -tag -width indent
.It Fl i
割り込み駆動モードにします。
.It Fl p
ポーリングモードにします。
.It Fl e
拡張モードにします。
.It Fl s
標準モードにします。すなわち、拡張モードをオフにします。
.It Fl d Ar dev
.Em dev
で指定されたプリンタデバイスのモードを設定します。
.Em dev
のデフォルト値は
.Em /dev/lpt0
です。
.El
.Pp
.Fl i ,
.Fl p
.Fl e
のいずれか 1 つを必ず指定しなければなりません。
.Pp
.Sh 関連ファイル
.Bl -tag -width /sys/i386/conf/GENERIC -compact
.It Pa /dev/lpt?
プリンタデバイス。
.It Pa /dev/lpctl?
プリンタ制御デバイス。
.It Pa /sys/i386/conf/GENERIC
カーネル設定ファイル。
.El
.Sh バグ
きっといくつかあるでしょう。
.Sh 関連項目
.Xr lpt 4
.Sh 作者
.An Geoffrey M. Rehmet
.Sh 歴史
.Nm
.Fx 1.1.5
で初めて登場しました。