IPrinterScriptUsbJobContextReturnCodes interface

The IPrinterScriptUsbJobContextReturnCodes interface represents an array of return codes that an IHV has defined for their JavaScript functions.

This interface is returned by the IPrinterScriptUsbJobContext::ReturnCodes method.

Members

The IPrinterScriptUsbJobContextReturnCodes interface inherits from the IUnknown interface. IPrinterScriptUsbJobContextReturnCodes also has these types of members:

Methods

The IPrinterScriptUsbJobContextReturnCodes interface has these methods:

Method Description
AbortTheJob Returns a value of '4' to inform USBMon that the print job must be aborted.
DeviceBusy Returns a value of '3' to inform USBMon that the device communication channel is not accepting data at this time.
Failure Returns a value of '1' to inform USBMon that the method call failed.
Retry Returns a value of '2' to inform USBMon that the method call was successful, with more work to be completed.
Success Returns a value of zero (0) to inform USBMon that the function call completed successfully.

Requirements

Minimum supported client: Windows 8.1

Minimum supported server: Windows Server 2012 R2