Re: Parallel Port transport add-on
"Philippe Houdoin" <[email protected]> Thu, 16 Jan 2003 11:43:42 +0100 (added by [email protected])
| Newsgroups | gmane.os.openbeos.printing |
|---|---|
| Message-ID | <7633457277-BeMail@hamlet> |
Hi Michael, > how are you=3F I'm fine. (Happy) New Year, you know... For a start, I found again some time to work on OpenBeOS, which is great for my mind sanity. > Attached is my implementation of a transport add-on for > the parallel port. It's completely untested. As I don't have > atm a parallel printer anymore, I want to ask you if you could > test it and if it works, if you could commit it to the OBOS > repository. > > Esp. check if the flags for open() are correct. Okay, I've fixed my vanilla r5.0.3 system there, and tested this new OBOS parallel port print transport add-on with my BJ-200 printer. It didn't work, throwing a "can't open transport" BAlert. After having changed the "printer=5Fname" BMessage string item name into this stupid but binary compatible "printer=5Ffile", it works fine. Good job, Michael, as always. I run, during printing, an $ echo test > /dev/parallel/parallel1 and get the expected "busy", so the open() flags sounds corrects. I'll commit this new transport add-on soon into CVS. -Philippe -- Fortune Cookie Says: We've sent a man to the moon, and that's 29,000 miles away. The center of the Earth is only 4,000 miles away. You could drive that in a week, but for some reason nobody's ever done it. -- Andy Rooney