[ Home > Softwares > xlpmonitor ]

xlpmonitor - printer port monitor for Linux/intel boxes

Screenshot of xlpmonitor xlpmonitor monitors signals of parallel port of Linux/intel boxes and display it like indicator LEDs on the printers.

Although lp(4) provides facility to read status of the printer port, this program read signal on the parallel interface directly through /dev/port pseudo device. The program is absolutely non-portable - it strongly depends to the underlying hardware and operating system, and will work only with some Linux operating system on Intel machines. It had worked on redhat Linux 6.x and Vine Linux 2.1.


-address port-address
Specify the I/O port address (e.g., 0x378) to be monitored. No default value.
When this is not specified, xlpmonitor will try to get the address from /proc/parport/n/hardware.

-port parallel-port-number
Specify the number of the parallel port to be monitored. The default is 0.
This parameter will ignored when -address is specified.

Output a short message which describes the status of the port and exit immediately.


xlpmonitor-0.2.tar.gz - version 0.2 [UNSTABLE]


To install this program, run
xmkmf; make; make install
in the directory where the source is stored. You should note that you must become the superuser (root) before running `run install'.

The command should be owned by kmem group and set-GID'ed so that it can read the /dev/port pseudo device.


xlpmonitor was written by Tom Sato, and it is distributed under the terms of the GNU General Public License.

Please send any feedback (such as bug reports, requests or comments) to Tom Sato <VEF00200@nifty.com>.

The latest version of this software and more information about it may be available at http://t-sato.in.coocan.jp/.

by Tom Sato, 2001-04-29