Introduction to Print Processors

Print processors are user-mode DLLs that are responsible for converting a print job's spooled data into a format that can be sent to a print monitor. They are also responsible for handling application requests to pause, resume and cancel print jobs.

The print job's spooled data is contained in a spool file. The print processor reads the file, performs conversion operations on the data stream, and writes the converted data to the spooler. The spooler then sends the data stream to the appropriate print monitor.

Microsoft Windows 2000 and later includes the print processors listed in the following table.

Print processorInput data typesOutput data types

Localspl.dll *

EMF

RAW

TEXT

RAW

Sfmpsprt.dll

PSCRIPT1

RAW

 

* Beginning with Windows 2000, Localmon.dll and Winprint.dll are included in Localspl.dll.

For information about the data types, see the following topics:

EMF Data Type

RAW Data Type

TEXT Data Type

PSCRIPT1 Data Type

You can create a customized print processor to support a data type that is not supported by Windows 2000 or later operating system versions. You can also provide a customized print processor that supports one or more of the supported data types, thus allowing you to modify the capabilities provided by the supplied print processors.

Print processors are associated with printer drivers during driver installation, so multiple print processors supporting the same data type can coexist. For more information, see Installing a Print Processor.

Note   When you compile a print processor, set the Unicode flag with #define UNICODE. Print processor code should use only wide strings, of type LPWSTR, for example.

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft