IPrinterScriptablePropertyBag interface (printerextension.h)

The IPrinterScriptablePropertyBag interface is the property bag interface passed to script clients.

This interface is the same as IPrinterPropertyBag, except that the GetBytes and SetBytes methods operate on JavaScript arrays and the GetReadStream and GetWriteStream methods operate on IPrinterScriptableStream objects.

Inheritance

The IPrinterScriptablePropertyBag interface inherits from the IUnknown interface.

Methods

The IPrinterScriptablePropertyBag interface has these methods.

 
IPrinterScriptablePropertyBag::GetBool

Gets a specified boolean property.
IPrinterScriptablePropertyBag::GetBytes

Gets a byte array property.
IPrinterScriptablePropertyBag::GetInt32

Gets an integer property.
IPrinterScriptablePropertyBag::GetReadStream

Gets a read stream and uses it to read from a property.
IPrinterScriptablePropertyBag::GetString

Gets a string property.
IPrinterScriptablePropertyBag::GetWriteStream

Gets a stream and uses it to write to a stream property.
IPrinterScriptablePropertyBag::SetBool

Learn how this method writes a specified boolean property value.
IPrinterScriptablePropertyBag::SetBytes

Learn how this method writes a byte array property.
IPrinterScriptablePropertyBag::SetInt32

Learn how this method writes an integer property.
IPrinterScriptablePropertyBag::SetString

Learn how this method writes a string property.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Windows
Header printerextension.h

See also

IPrinterPropertyBag

IPrinterScriptContext::DriverProperties

IPrinterScriptContext::QueueProperties

IPrinterScriptContext::UserProperties

IPrinterScriptableStream

V4 Printer Driver Property Bags