IPrinterScriptUsbJobContext::TemporaryStreams method

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

Syntax


HRESULT TemporaryStreams(
  [out, retval] IDispatch **ppArray
);

Parameters

ppArray [out, retval]

Pointer to an array of IPrinterScriptableSequentialStream interfaces.

Return value

This method returns an HRESULT value.

Remarks

TemporaryStreams is a read-only method. There are a maximum of 2 temporary streams available to the IHV JavaScript functions. These streams are only available for the duration of the current print job. The IHV can use this to store data that is not yet ready to be sent to the print device. On a later writePrintData JavaScript function call, these streams can be used to send the stored data to the print device.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Target platform

See also

IPrinterScriptUsbJobContext
IPrinterScriptableSequentialStream

 

 

Send comments about this topic to Microsoft

Show: