IPrinterScriptableSequentialStream interface (printerextension.h)

The IPrinterScriptableSequentialStream interface is an ISequentialStream-like interface that works in JavaScript. Instead of reading and writing byte arrays, it reads and writes JavaScript arrays of bytes, which are values between 0 and 255.

Inheritance

The IPrinterScriptableSequentialStream interface inherits from the IUnknown interface.

Methods

The IPrinterScriptableSequentialStream interface has these methods.

 
IPrinterScriptableSequentialStream::Read

The Read method reads bytes from the stream and returns them as a JavaScript array.
IPrinterScriptableSequentialStream::Write

The Write method writes the provided JavaScript array to the stream and returns the number of bytes written.

Requirements

Requirement Value
Target Platform Windows
Header printerextension.h (include Printerextension.h)