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: USB backend question



Hi K.Mino,
You need to use IOKit to communicate with USB
printers. If you see the symbol table of system provided
usb backend , it list out all IOKit calls.

In Terminal ...

$cd /usr/libexec/cups/backend
$nm usb | grep IO
U _IOCreatePlugInInterfaceForService
U _IOIteratorNext
U _IOMasterPort
U _IOObjectRelease
U _IORegistryEntryCreateCFProperties
U _IOServiceGetMatchingServices
U _IOServiceMatching


Regards,
Abhijit




From: "Koichiro Mino" <email@hidden>
To: <email@hidden>
Subject: USB backend question
Date: Wed, 11 Jun 2003 11:47:38 +0900

Hi, all.

If I need to make my custom USB backend,
should I use IOKit to communicate with USB printers?

Reading a source code of USB backend of original CUPS,
it uses device files to connect to printers.
(/dev/unlpt?, /dev/ulpt? etc... depending on the kind of OS.)
However, I can't find such device files for USB devices on Jaguar.
Does CUPS on Jaguar use device files of different name from UNIX,
or does it use IOKit to communicate with printers?


Regards,
K.Mino
Fuji Xerox Printing Systems Co.,Ltd.





**************************Disclaimer************************************

Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual
or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited.

***************************************************************************
_______________________________________________
printing mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/printing
Do not post admin requests to the list. They will be ignored.



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.