[BL] USB printer/keyboard/mouse in BL3.4, was Re: onboard video causes 'attempt to access beyond end of device' in loop linux
sindi keesan
keesan at sdf.lonestar.org
Wed Sep 27 22:16:34 EDT 2006
Do I also insmod lp.o (but not parport.o and parport_pc.o) or is printer.o
a substitute?
To print with lpd, for parport printers I need to insert the modules and
run lpd as root. I forgot that (at least for BL2) I can print using lpd
only as 'user'. BL3 is not set up with a 'user' and would thus need a
password package installed first (or can root print in BL3?). And I
forgot about needing ghostscript for lpd. This is too much to teach
someone in another state who has never used linux and does not even know
how to restore Windows, much less download and install programs.
To print with the 'wp' printing script, would one just need the three usb
modules (including printer.o), lp (?) and the usblp0 device? I could
attempt to email those to her (or mail them on a floppy disk, or teach her
to download them). I hope the standard kernel supports the usb printer.
Could someone with a working USB printer try this? The one we found at
the curb is out of ink.
If she has to print anything formatted she can copy the file from Abiword
to Windows and print with WORD. Images can be printed with netpbm's
pbmtolj, etc. . I installed Windows ghostscript and a viewer (ghostgum)
which I set up to work with Opera, and linux pdftotext and pdfimages. I
set lynx to use pdftotext on pdf files - how would I do that for Opera?
Or could I use a combination of pdftopbm and zgv?
We have just been 'paid' for the linux computer (with a box of Chinese
chestnuts) which must make us linux professionals.
On Wed, 27 Sep 2006, David Moberg wrote:
> sindi keesan wrote:
>>
>> What exactly would be required to add USB printing capabilities to BL3.4?
>
> Insert the standard USB modules (usbcore and one of: usb-uhci uhci
> usb-ohci), and then insmod printer.o (USB printer driver). Make the
> USB printer device:
>
> cd /dev
> mknod usblp0 c 180 0
>
> (mknod usblp1 c 180 1 and so forth if you have two printers.)
>
> A USB printer attached to /dev/usblp0 works like the same printer
> would if it were attached to /dev/lp0 (parallel port).
>
>> I know I need a printcap
>
> For lpd (print spooler).
>
>> (for a Lexmark - is this Epson compatible?).
>
> What model of Lexmark?
>
> You will usually need to look up the model by searching the Internet
> or the printer database at linux-printing.org. Then to print
> postscript files, most printers require the use of ghostscript and its
> printer filters (to convert ps to the printer's format).
>
> David
>
> -----------------------
> BasicLinux mailing list
> -----------------------
> http://www.basiclinux.com.ru
> http://www.ibiblio.org/pub/linux/distributions/baslinux/
> ------------------------------------
> To exit, send subject=unsubscribe to
> baslinux-request at lists.ibiblio.org
>
keesan at sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
More information about the BasLinux
mailing list