Partager via


Printer Drivers (Compact 2013)

3/26/2014

You create printer drivers so that your Windows Embedded Compact powered device can communicate with printing devices. The port monitor manages all communication between printer drivers and physical communication ports. To communicate with printers, you call the Printer Driver Functions in your printer driver.

To add this feature to your OS, see Printer Driver Sysgen Variables.

For reference information, see Printer Driver Reference.

Sample application code is available at the following locations.

  • %_WINCEROOT%\Public\Common\Oak\Drivers\Printer
    Printers that support the Printer Control Language (PCL) interface can use this driver. Although this sample driver supports color printing, it does not have a full set of functionality. It is provided to assist you in writing printer drivers or porting desktop printer drivers. When using Pcl.dll, applications can use the common Print dialog box to present the user with an option to print.
  • %_WINCEROOT%\Public\Common\Oak\Drivers\USB\Class\Printer
    The sample USB printer driver provides support for printing over a USB connection. It is written as a stream interface driver for printer ports, and follows the USB device interface functions. This sample driver follows the USB Device Class Definition for Printing Devices specification.

See Also

Other Resources

Device Drivers