How to gGet USB ProductID by DEVICE_URI

Michael Sweet mike at easysw.com
Thu Aug 7 19:52:13 PDT 2008


keens312 wrote:
> Hi Michael,
> 
> My application nees to send data to printer by USB on Mac OSX 10.5.
> 
> This application is started by launch agent with DEVICE_URI argument passed from CUPS filter. (Filter does not know USB Product ID detail).
> 
> Then this application will figure out the USB PID by the DEVICE_URI.
> 
> Do you have any good easy way to get this?
> 
> It seems taht I have to migrate part of usb backend code to this application.

That's what you'll have to do.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com




More information about the cups-devel mailing list