Locating a Printer on a Network
A version of this page is also available for
4/8/2010
Windows Embedded 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 Embedded 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 Embedded CE does not support print queue manipulation. Also, some Windows-based desktop operating system print servers do not support the Windows Embedded 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
Create a network resource list.
For more information about creating a network resource list, see Determining Available Network Resources.
To enumerate only the print resources, change the dwType parameter in WNetOpenEnum to RESOURCETYPE_PRINT.
See Also
Concepts
Windows Networking API/Redirector Application Development
Managing Network Connections with WNet