Table of contents
TOC
Collapse the table of content
Expand the table of content

Customized Data Stream Filtering

Last Updated: 9/16/2016

Unidrv allows customized code to perform final post-processing of image data before it is spooled. Such processing might consist of removing adjacent dots, or any other data filtering operation that Unidrv does not provide.

To perform final postprocessing of image data, provide a rendering plug-in that implements the IPrintOemUni::FilterGraphics method.

The IPrintOemUni::FilterGraphics method receives scan line data as input. The method must process the data and then send it to the print spooler by calling IPrintOemDriverUni::DrvWriteSpoolBuf. If the IPrintOemUni::FilterGraphics method is implemented, Unidrv does not spool printer data. Instead, it sends every data block to the IPrintOemUni::FilterGraphics method.


Send comments about this topic to Microsoft

© 2017 Microsoft