Locating a Printer on a Network (Windows CE 5.0)

Send Feedback

Windows CE supports basic network printing and enables a user to select a network printer by UNC name. Specifying a printer by UNC requires a user to provide the network printer location in the format \\Server\Share.

Windows CE makes no attempt to retrieve data about the target printer or the type of output that it requires. When a network print job is queued, the redirector creates a thread to track the status of the print job. Windows CE does not support print queue manipulation. Also, some Windows-based desktop operating system print servers do not support the Windows CE print job status completion notification. When using these print servers the user will not receive notification when a print job completes.

To find a printer on a network using WNet

  1. Create a network resource list.

    For more information about creating a network resource list, see Determining Available Network Resources.

  2. To enumerate only the print resources, change the dwType parameter in WNetOpenEnum to RESOURCETYPE_PRINT.

See Also

Windows Networking API/Redirector Application Development | Managing Network Connections with WNet

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.