> > In order to get HPLIP to compile I had to stub out USB > > bulk_write/bulk_read calls since these calls do not go > through libusb. > > This means the current HPLIP USB support will be limited to device > > discovery only. USB printing/scanning/hp-toolbox will not work. In > > theory all HPLIP JetDirect support should work. > > > > In order to get full HPLIP USB support working on the Mac the > > bulk_write/bulk_read calls need to be converted the Mac USB IOKit. > > Is there some special reason libusb calls can't be used? > That's what I'm using for the OS X implementations of the > Device::Read and Device::Write methods. Write (at least) > seems OK, since I can print. libusb already includes native > support for Mac OS X USB I/O, in that it uses IOKit and > CoreFoundation for implementation of the libusb API (file > darwin.c in the libusb package). I'm not sure why it would be > necessary to bypass libusb and use IOKit directly, though it > certainly can be done.
If the darwin libusb implementation of usb_bulk_write can return actual bytes written during timout conditions (ie: paperout) then you do not need to bypass libusb. If usb_bulk_write does not return the actual bytes written you will not recover from a paperout condition without loosing bytes. This was the problem with libusb for Linux. -dave ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ HPLIP-Devel mailing list HPLIP-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hplip-devel