On 9/3/02 8:38 AM, "Gregory Cranz" <[EMAIL PROTECTED]> wrote:
> Is there any way to address the USB port directly? Not the "port" directly, but there's an entire OS X framework that handles I/O in general, and can do USB specifically. You'll want to look for "IOKit" (note that this is all in C, *not* Perl). I did a little hacking on this when I was trying to write raw data to an inkjet printer. It's not easy, though. There are multiple steps to get to the point where you have a function that can be used to send data to your USB device. Just for grins, I'll attach my (not-well-commented) attempt at writing this little printer driver, just so you can get the flavor of the task. -- John Labovitz [EMAIL PROTECTED] www.johnlabovitz.com
main.c
Description: Binary data