Printer Discovery Sample (Windows CE 5.0)

Send Feedback

This sample application illustrates the use of the client-side Windows CE–based Bluetooth port emulator, device discovery, and client-side SDP queries.

The compiled sample generates a PrintUI.exe application. When the icon is clicked, a dialog box appears. From this dialog, the user can discover devices then select a device from the list. In process, it runs inquiry, name queries and SDP queries.

After a Bluetooth device is discovered with serial port profile capabilities, the pairing and authentication process is initiated. If those processes complete successfully, a Bluetooth printer profile appears under the printer program. When a new connection is established through this new Bluetooth profile, the target printer can be selected from applications.

Usage

printui.exe

Sample Location

%_WINCEROOT%\Public\Common\Oak\Drivers\Bluetooth\Sample\PrintUI

**Note   **This sample application has not been thoroughly tested and is not intended for production use.

See Also

Bluetooth Application Development | Bluetooth Samples

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.