Date: Sat, 25 Nov 2000 16:13:52 -0600 (CST) From: Mike Meyer <mwm@mired.org> To: Keith Walker <kew@icehouse.net> Cc: questions@freebsd.org Subject: Re: Problem with USB printer Message-ID: <14880.14752.15791.4032@guru.mired.org> In-Reply-To: <91518264@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
You should submit this as a PR, which means there's a better chance that the person submitting the PR will see it, and fix the driver. Thanx, <mike Keith Walker <kew@icehouse.net> types: > - --------------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 > -- Mike Meyer http://www.mired.org/home/mwm/ Freelance WWW/Unix/FreeBSD consultant, email for rates. 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?14880.14752.15791.4032>