FLUSHOUTPUT

  #define FLUSHOUTPUT 6    

  short Control(lpDevice, FLUSHOUTPUT, NULL, NULL)    
  LPPDEVICE lpDevice;    

The FLUSHOUTPUT escape flushes output in the device's buffer.

Parameters

lpDevice

Points to a PDEVICE structure specifying the destination device.

Return Value

The return value is positive if the escape is successful. Otherwise, it is negative.

Comments

This escape is intended for banding printer drivers. When called, they should reinitialize the banding bitmap (that is, eliminate anything in the bitmap that is only partially drawn).