int = FlushPrinter(Printer, Buf
, Sleep
)
Clears printer from error state if WritePrinter fails
Parameters
Printer : PyPrinterHANDLE
Handle to a printerBuf : str
Data to be sent to printerSleep : int
Number of milliseconds to suspend printerReturn Value
Returns the number of bytes actually written to the printer