IPrinterScriptablePropertyBag interface

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.


The IPrinterScriptablePropertyBag interface has these methods.

Method Description
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 Writes a specified boolean property value.
IPrinterScriptablePropertyBag::SetBytes Writes a byte array property.
IPrinterScriptablePropertyBag::SetInt32 Writes an integer property.
IPrinterScriptablePropertyBag::SetString Writes a string property.


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

See Also






V4 Printer Driver Property Bags