2.2.12 New Printer Functions

The printer functions simplify printing by replacing the cumbersome printer escapes used in Windows 3.0.

Following are the new printer functions:

Function Description

AbortDoc Terminates a print job.
EndDoc Ends a print job.
EndPage Ends a page.
ResetDC Updates a device context.
SetAbortProc Sets the abort function for a print job.
SpoolFile Puts a file in the spooler queue.
StartDoc Starts a print job.
StartPage Prepares the printer driver to receive data.

The printer functions are an integral part of Windows and are available with Windows 3.1 only.