DosPrintDestControl

The DosPrintDestControl API pauses or continues printing on the specified print destination and cancels or restarts a print job on the specified destination.