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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for