BOOL ClosePrinter( HANDLE hPrinter /* handle of printer object */ );
Closes the specified printer object.