On Thu, Mar 11, 1999 at 06:00:55PM -0600, Paul Sack wrote:
> I'm getting some weird printer problems. Before everything worked okay.
> I think the problem may have been that I tried to install my parallel
> port zip drive. But the ppa module that interfaces with the drive is not
> loaded. Anyways, nothing works. lpq reports that the printer is offline,
> but it's not. In windows, my parallel port is lpt1, so I was using lp1
> (I think) because I read that sometimes lpt1 in windows doesn't
> necessarily translate to lp0 and lp1 worked. Now I have tried both lp0
> and lp1 to no avail. I know lpd is loaded. I have restarted lpd several
> times. Again, nothing works. Please help. (This is REALLY  important.)
> Thanks.

Do you get these messages on boot up?

   lp0: using parport0 (polling).
   lp1: using parport1 (polling).

and is lp listed in "cat /proc/devices"?

Are there any messages in /var/log/lp*?  Do your devices look
like this:

   crw-rw----   1 root     lp         6,   0 Jul 20  1998 /dev/lp0
   crw-rw----   1 root     lp         6,   1 Jul 20  1998 /dev/lp1
   crw-rw----   1 root     lp         6,   2 Jul 20  1998 /dev/lp2
   crw-rw----   1 root     lp         6,   3 Jul 20  1998 /dev/lp3

and are you starting lpd as root?  If you compiled your own
kernel, there are several options that should be set in your
/usr/src/linux/.config file.  Here are the relevant entries in
mine:

   #
   # General setup
   #
   CONFIG_PARPORT=y
   CONFIG_PARPORT_PC=y
   # CONFIG_PARPORT_OTHER is not set
   #
   # Character devices
   #
   CONFIG_PRINTER=y
   CONFIG_PRINTER_READBACK=y
   #
   # Block devices
   #
   # CONFIG_PARIDE is not set

I don't think the CONFIG_PRINTER_READBACK one important, but I
listed it just in case.  This setup works for me with an HP 4P
and an HP Color DeskJet printer on ports lp0 and lp1,
respectively.

   hope this helps,

   - rick

-- 
Richard Kilgore                     |  [EMAIL PROTECTED]
Electrical & Computer Engineering   |  http://lore.ece.utexas.edu/~rkilgore/
The University of Texas at Austin   |  (512) 471-8011
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]

Reply via email to