Re: [PARPORT] Printing problem


lweiss (lweiss@starnetinc.com)
Fri, 10 Jul 1998 07:31:28 -0500


After some digging I found the answer:
The old printcap needs needs the
:lp=/dev/lp1 changed to /dev/lp0
but this means 2 printcaps if you
run 2.0.xx and 2.1.xxx kernels.
So if you recompile 2.1.xxx
with
CONFIG_PARPORT=Y
CONFIG_PARPORT_PC=Y
CONFIG_PRINTER=M
and insmod lp parport=1,0
this sets lp back to using lp1
and you can use the same printcap.
Hope this helps anyone who
has similiar printing problems.

> I hope this is the right place for this.
> I've got a strange problem. 2.0.34
> prints OK.
> I just compiled 2.1.108 ac2 :
> CONFIG_PARPORT=Y
> CONFIG_PARPORT_PC=Y
> CONFIG_PRINTER=Y
> Printer won't print using lpr -Pxxx
> <file>,
> I get from lpq, printer not ready,
> however I can cat <file> > /dev/lp0, and
> it
> prints.
> So I recompiled linux as
> CONFIG_PARPORT=M
> CONFIG_PARPORT_PC=M
> and recompiled: CONFIG_PRINTER never
> came up.
> I figured I could taylor the io and irq
> using
> insmod, however I could not load
> parport_pc as
> a module, it said process in use or busy
> or
> something to that effect and why no lp
> module.
> Any Ideas???
> Thanks Len

-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --



This archive was generated by hypermail 2.0b3 on Wed 30 Dec 1998 - 10:17:56 EST