Windows CE printer drivers must implement the following functions:
Function: | Purpose |
---|---|
DrvCopyBits | Called by GDI to copy a rendered strip to the printer. |
DrvDisablePDEV | Frees memory and resources used by the driver when the printer is no longer needed. |
DrvDisableSurface | Called by GDI to inform the printer driver that the surface created for the current printing context is no longer needed. |
DrvEnableDriver | The entry point for the printer driver DLL, which must be exported in the .DEF file for the DLL. This function receives two callback function pointers from GDI, and returns to GDI function pointers for the other functions implemented by the printer driver. |
DrvEnableSurface | Creates a surface for use in rendering. |
DrvEndDoc | Called by GDI to finish or abort a print job. |
DrvGetModes | Returns information to GDI about printing modes supported by the print driver. |
DrvStartDoc | Called by GDI to start a print job. |
DrvStartPage | Called by GDI to start printing the next page of a print job. |