Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Nov 2000 10:02:29 -0800
From:      Keith Walker <kew@icehouse.net>
To:        "Walter C. Pelissero" <walter@pelissero.org>
Cc:        questions@freebsd.org
Subject:   Problem with USB printer
Message-ID:  <00112510022900.06194@mars.walker.dom>

next in thread | raw e-mail | index | archive | help

--------------Boundary-00=_54ELFUPCC1GU13OVER8J
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

Ok, a while back (couple of days ago) I posted a question about my Epson 900 
not working when attached via the USB cable.

I found the solution to the problem. Hopefully this will help others with 
Epson's that don't seem to work via the USB port.

The Epson's must have an initialization string sent to them to wake up the 
beast. This string only needs to be sent once, after plugging the printer in. 
Turning off the power doesn't seem to matter, just the power cord. Anyhow, 
sending the init string once per job is sufficient and harms nothing.

The string? In hex code it's:

00 00 00 1b 01 40 45 4a 4c 20 31 32 38 34 2e 34 0a 40 45 4a 4c 20 20 20 20 20 
0a

Attached is a teeny-tiny C program that will output the string for those of 
you who read C better than hex codes.

We have our cousins over in the Linux world to thank for this information. 
Huzzah for the linuxer's! Huzzah! :-)

-- 
Keith Walker
kew@icehouse.net
--------------Boundary-00=_54ELFUPCC1GU13OVER8J
Content-Type: text/english;
  name="epswkup.c"
Content-Transfer-Encoding: base64
Content-Description: Epson USB Wakeup Program
Content-Disposition: attachment; filename="epswkup.c"

LyogLSotQy0qLSAqLwoKLyogdGhpcyBpbmNyZWRpYmx5IHNpbXBsZSBwcm9ncmFtIGNvbnRhaW5z
IHRoZSBtYWdpYyB3b3JkcwogICB0byBnZXQgYW4gRXBzb24gcHJpbnRlciAobWluZSdzIGEgRXNw
b24gOTAwKSB0byBzdGFydAogICB1c2luZyB0aGUgVVNCIHBvcnQuIElmIHlvdSBkb24ndCBzZW5k
IHRoaXMgYWZ0ZXIgYQogICBoYXJkLXBvd2VyLWN5Y2xlICh1bnBsdWcgdGhlIHBvd2VyIGNvcmQs
IHBsdWcgaXQgYmFjayBpbikKICAgdGhlIHByaW50ZXIgd2lsbCBkdXRpZnVsbHkgaWdub3JlICpl
dmVyeXRoaW5nKiB5b3Ugc2VuZAogICB0byBpdC4KCiAgIEkgZG9uJ3QgYWN0dWFsbHkgdXNlIHRo
aXMgcHJvZ3JhbTsgSSBtb2RpZnkgdGhlICoudXBwIGZpbGVzCiAgIGluIEdob3N0c2NyaXB0J3Mg
dW5pcHJpbnQgZHJpdmVycywgSSBtb2RpZnkgdGhlIGFwc2ZpbHRlcgogICBwcm9ncmFtIHRvIHNl
bmQgYSBwcm9sb2d1ZSBhbmQganVzdCBpbiBnZW5lcmFsIGZpeCB0aGluZ3MKICAgdXAgc28gZXZl
cnl0aGluZyB0aGF0IHByaW50cyB3aWxsIHNlbmQgdGhpcyBzdHJpbmcuCgogICBJIGhhdmUgdGhp
cyBwcm9ncmFtIGhlcmUgdG8gcmVtaW5kIG1lIGhvdyB0byBkbyBpdCwgYW5kCiAgIHdoYXQgdGhl
IGNvZGVzIGFyZS4KCiAgIEtlaXRoIFdhbGtlciwgPGtld0BpY2Vob3VzZS5uZXQ+CiAgIExhdGUg
Tm92ZW1iZXIgMjAwMAoqLwoKI2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbihpbnQgYXJnYywg
Y2hhciAqKmFyZ3YpCnsKICAgIHByaW50ZigiJWMlYyVjXDAzMyVjQEVKTCAxMjg0LjRcbkBFSkwg
ICAgIFxuIiwgMCwgMCwgMCwgMSk7Cn0K

--------------Boundary-00=_54ELFUPCC1GU13OVER8J--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00112510022900.06194>