[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: brother hl-1440 on usb with CUPS



On Tue, 24 Jun 2003, Matt Price wrote:

> Hi folks,
>
> thinks it's sending jobs to the printer, but the printer shows no
> signs of receiving data.  How would I start to figure this out?

I had trouble getting my printer to work on Linux, but on
a PC.  I haven't been following this thread closely so
forgive me if I repeat something.  The first thing to check
is if you have lp support in the kernel.  Do you have
USB printer support compiled in?
If you are using modules, you might see some line like
this if you do a lsmod:
usbcore                71276   1  [printer usb-storage hid]
In any event if you do a:
[root@pc1 usb]# more /proc/bus/usb/drivers
         usbdevfs
         hub
         hid
         usb-storage
  0- 15: usblp

you should see some thing like usblp above.
Here's where things get a little shakey since I don't
have a usb printer, but I think this should work.
I also use devfs so some things are probably a bit
different there as well.
Looking at this page:
http://www.linux-usb.org/USB-guide/x342.html
you should be able to:
mknod /dev/usb/lp0 c 180 0
Now with a printer attached to a parallel port
you can actually send a file to the device
directly as in:
cat Somefile.txt >/dev/lp0 so I assume you
can do that with a usb attached printer as
well.
So if you do:
cat mytextfile.txt >/dev/usb/lp0 your file
should come out of the printer. It will probably
be missing carriage returns or something, since
you are not using any print filters.

After that I can't help you since I use LPRng instead
of CUPS.
But if you got that far, you know it's not a device
problem but a CUPS installation/configuration
problem.


Fred

Error Loading Explorer.exe
You must reinstall Windows.



Reply to: