Suffield, David <david.suffield <at> hp.com> writes:

> 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.



-------------------------------------------------------
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&kid=120709&bid=263057&dat=121642
_______________________________________________
HPLIP-Devel mailing list
HPLIP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-devel

Reply via email to