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.


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


ppArray [out, retval]

Pointer to an array of IPrinterScriptableSequentialStream interfaces.

Return value

This method returns an HRESULT value.


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.


Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Target platform

See also




Send comments about this topic to Microsoft