I went through this with an Epson 750 a couple months ago and got this to
work (with a *lot* of help from this list, thanks all!) You need to send a
specific sequence of codes to the printer through the USB port before it
starts printing. I have attached a file with the required codes. I use a
print filter like:
#!/bin/bash
exec cat /var/spool/lpd/epson-raw/epson-usb-codes -
for printing from Windows machines through Samba (raw codes straight to the
printer), and I use the codes that Pam Roberts discovered (see the link that
Randy gave you) for Postscript stuff.
I have a feeling that the codes need to be sent only once, but it doesn't
seem to hurt to send them for each print job (or in the case of the
Postscript stuff, every page!).
--
Manuel A. McLure - Unify Corp. Technical Support <[EMAIL PROTECTED]>
Vah! Denuone Latine loquebar? Me ineptum. Interdum modo elabitur.
-----Original Message-----
From: Dunlap, Randy [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 26, 2000 3:03 PM
To: 'Stein E. Strandmoe'; Linux USB
Subject: RE: [linux-usb] USB printing; Epson870
Hi,
Most Epson Stylus printers don't do straight ASCII.
They don't have internal fonts, so you must use a
printer filter to print to them.
What you do have in /etc/printcap for /dev/usb/lp0?
Also, you could search the archives (linked from
www.linux-usb.org) for "epson" and may be able to
find some help.
Here's a link that may help you:
http://www1.webnik.ne.jp/~beat-a/LinuxEpson.html (800C)
~Randy
> -----Original Message-----
> From: Stein E. Strandmoe [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 26, 2000 4:25 PM
> To: Linux USB
> Subject: [linux-usb] USB printing; Epson870
>
>
> No success getting the new model Epson Stylus Photo 870 to speak with
> lpd over USB... http://www.epson.com/printer/inkjet/sty870/
>
> I have loaded:
> parport_probe 3428 0 (autoclean)
> parport_pc 7396 1 (autoclean)
> lp 4708 1 (autoclean)
> parport 7320 1 (autoclean) [parport_probe parport_pc
> lp]
> soundcore 2596 0 (autoclean) (unused)
> hisax 117088 4
> isdn 112460 6 [hisax]
> slhc 4500 2 [isdn]
> rtl8139 12416 1 (autoclean)
> joydev 4948 0
> wmforce 1692 0 (unused)
> hid 10592 0 (unused)
> input 2716 0 [joydev wmforce hid]
> printer 3692 0
> usb-uhci 21248 0 (unused)
> usbcore 38856 0 [wmforce hid printer usb-uhci]
>
> The wmforce joystick works nicely over USB.
>
> And the printer is reported as:
> T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
> D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
> P: Vendor=04b8 ProdID=0005 Rev= 1.00
> S: Manufacturer=EPSON
> S: Product=USB Printer
> S: SerialNumber=t06020002221532330
> C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA
> I: If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
> E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
> E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl= 0ms
>
> I've also:
> mkdir /dev/usb
> mknod /dev/usb/lp0 c 180 0
> chown root.daemon /dev/usb/lp0
> chmod 660 /dev/usb/lp0
>
> So far, so good. I can see it in usbview, so cables etc should be ok.
> But, sending ascii to the device, or setting up lpd using
> driver gives no visible response on the printer.
>
> Any ideas at how I can further troubleshoot?
>
> PS. On RH6.1 with 2.2.15 kernel and 2.3.99r7 backport patch.
> --
> Stein E. Strandmoe
> [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
epson-usb-codes
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]