BOOL DrvEndDoc(
IN SURFOBJ *pso, | |
IN FLONG fl | |
); |
DrvEndDoc causes the driver to send any control information needed at the end of a document.
Parameters
pso
Points to a SURFOBJ structure that defines the surface object. The structure can be queried to find its type and what PDEV it is associated with.
fl
Specifies a set of flags. If the ED_ABORTDOC flag is set, the print job has been canceled or aborted.
Return Value
The return value is TRUE if the function is successful. Otherwise, it is FALSE, and an error code is logged.
Comments
DrvEndDoc is required for printer drivers.