ClosePrinter


BOOL ClosePrinter(
HANDLE hPrinter      /* handle of printer object    */
);

Closes the specified printer object.

hPrinter

Identifies the printer object to be closed.