That worked! Thanks!

My only problem now is that I also export this printer via Samba to the
Windows machines on my network as a networked printer with a "raw"
interface. Does anyone know whether just prepending the listed codes at the
beginning of each print job would work (ghostscript is doing it at each
page, I don't know whether I can write a filter that would do that with
binary data being sent from Windows).

If this is a one-time initialization string that only needs to be sent each
time the printer is powered up, how difficult would it be to put this in
printer.c?

--
Manuel A. McLure - Unify Corp. Technical Support <[EMAIL PROTECTED]>
Vah! Denuone Latine loquebar? Me ineptum. Interdum modo elabitur.


-----Original Message-----
From: Beat Ammon [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 30, 2000 8:26 PM
To: Manuel A. McLure
Cc: linux-usb mailing list
Subject: Re: [linux-usb] Help with USB printer and usbdevfs


I have had that problem, and probabely you mean the thread I've started.
The printer I use is the Epson
Colario 800C, which is a japanese model of an Epson Stylus. The problem
is that printer needs the
correct initialization string for USB, and it seems that your printer is
connected, but just ignores any
input. Here is what I do:

1) If you use modules, you need to load usbcore, either uhci, or
usb-uhci, or ohci, and printer.
    If you don't have your own setup for the printer, use a tool such as
printtool from redhat to create the
correct  printcap and filter files. The device for the printer you would
need is typically /dev/usb/usblp0.
2) ghostscript uses the uniprint printer descriptors for the Epson
printers. The problem is that with USB,
the printer needs an initialization string to recognize the input. Right
after
        -dupBeginPageCommand="<
 you will need to add the following three lines in stc???.upp, such that
it looks like:
        -dupBeginPageCommand="<
            00 00 00
            1b01 40 45 4a 4c 20 31 32 38 34 2e 34 0a
            40 45 4a 4c 20 20 20 20 20 0a
            1b40 1b40
or alternatively I have attached one of those files.
I will also try to set it up on my web-page tonite, the address will be
http://www1.webnik.ne.jp/~beat-a/LinuxEpson.html
Unfortunately the color-matrices are not exactly correct, but they could
be improved.

The actual solution goes back to Pam Roberts.

-- Beat
------------------------------------------------
ISSP, University of Tokyo
Roppongi 7-22-1, Minato-ku
Tokyo 106-8666, Japan

E-mail: [EMAIL PROTECTED]
Phone:  ++81 3 3478 6811 (ext. 5304)
Fax:    ++81 3 3402 8174


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to