Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: trouble talking to USB2 printer



yes, I'm doing that - this works for all other printers we've used, but for some reason, this printer is causing problems.

Alan
On Jul 15, 2005, at 5:31 PM, Florent Pillet wrote:

Did you arm the notification after registering it? You need to call your USBDeviceAdded() function once and let it iterate over all devices to properly arm it, otherwise it won't work correctly.

Florent

On 15 juil. 05, at 18:38, Alan Dail wrote:


I have USB software that we use to talk to various USB/USB2 printers that has worked fine for many different printers. We need to work with a new printer - a Kodak 9810 - and are running into an odd problem. We get the notification that the device was added, the problem is once we get the IOUSBDeviceInterface and call CreateInterfaceIterator on that, we get back an empty iterator (i.e. the first call to IOIteratorNext returns NULL), thus cannot get the IOUSBInterfaceInterface - from testing we've done, we clearly get the correct IOUSBDeviceInterface. Our code fragment is below and works for all of the other printers we've used - what could be going wrong with this printer?



-- Florent Pillet http://www.florentpillet.com Freelance software developer/consultant - Palm OS & Mac OS X Skype callto://florent.pillet




_______________________________________________ Do not post admin requests to the list. They will be ignored. Usb mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden
References: 
 >trouble talking to USB2 printer (From: Alan Dail <email@hidden>)
 >Re: trouble talking to USB2 printer (From: Florent Pillet <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.