Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Feb 2001 18:35:21 -0500 (EST)
From:      Saverio Perugini <sperugin@csgrad.cs.vt.edu>
To:        freebsd-questions@freebsd.org
Subject:   installing a printer
Message-ID:  <Pine.OSF.4.21.0102161826190.6905-100000@csgrad.cs.vt.edu>

next in thread | raw e-mail | index | archive | help
Hello,

I am trying to install a printer on lpt0

The following is some info on my system

$ uname -a
FreeBSD pipe.cs.vt.edu 4.0-RELEASE FreeBSD 4.0-RELEASE #0: Mon Mar 20 22:50:22 GMT 2000     root@monster.cdrom.com:/usr/src/sys/compile/GENERIC  i386

$ dmesg | grep "lpt"
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port

$ ls -l /dev/l*
lrwxr-xr-x  1 root  wheel        12 Apr 16  2000 /dev/log -> /var/run/log
-rw-r--r--  1 root  wheel     16000 Feb 16 18:02 /dev/lp0
crw-------  1 root  wheel   16, 128 Feb 16 17:29 /dev/lpctl0
crw-------  1 root  wheel   16, 129 Apr 15  2000 /dev/lpctl1
crw-------  1 root  wheel   16, 130 Apr 15  2000 /dev/lpctl2
crw-------  1 root  wheel   16,   0 Feb 16 17:29 /dev/lpt0
crw-------  1 root  wheel   16,   1 Apr 15  2000 /dev/lpt1
crw-------  1 root  wheel   16,   2 Apr 15  2000 /dev/lpt2

$ more /usr/src/sys/i386/conf/GENERIC
# Parallel port
device          ppc0    at isa? irq 7
device          ppbus           # Parallel port bus (required)
device          lpt             # Printer
device          plip            # TCP/IP over parallel
device          ppi             # Parallel port interface device
#device         vpo             # Requires scbus and da

When I try the following, I get errors.

$ lptcontrol -i -d /dev/lpt0
lptcontrol: open: Device busy

$ lptest > /dev/lpt0
/dev/lpt0: Device busy

The printer is on and connected to the system's parallel port properly.

Does any one has any troubleshooting recommendations?

Thank you.

Best,

Saverio Perugini
email: sperugin@vt.edu



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.21.0102161826190.6905-100000>