BOOL AbortPrinter(
HANDLE  hPrinter;    /* handle of printer object    */
);
 
Cancels and deletes the currently spooling job for the specified printer.
| hPrinter | Identifies the printer from which the spool file is deleted. | 
If the printer is not configured for spooling, this function has no effect.
The handle hPrinter is returned by the OpenPrinter function.