IPrinterScriptUsbJobContext interface

The IPrinterScriptUsbJobContext interface is passed as a parameter to the startPrintJob JavaScript function.

Members

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

Methods

The IPrinterScriptUsbJobContext interface has these methods.

MethodDescription
JobPropertyBag

Returns the property bag associated with the current print job.

PrintedPageCount

Returns the number of pages that have been printed by the print device in the current job.

PrintedPageCount

Sets the number of pages that have been printed by the print device in the current job.

ReturnCodes

Returns an object that can supply return code values that an IHV has defined for their JavaScript functions.

TemporaryStreams

Returns an array of IPrinterScriptableSequentialStream interfaces for the persistent data streams that can be used by the IHV JavaScript functions for the current job.

 

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.