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.
Members
The IPrinterScriptablePropertyBag interface inherits from the IUnknown interface. IPrinterScriptablePropertyBag also has these types of members:
Methods
The IPrinterScriptablePropertyBag interface has these methods.
| Method | Description |
|---|---|
| GetBool |
Gets a specified boolean property. |
| GetBytes |
Gets a byte array property. |
| GetInt32 |
Gets an integer property. |
| GetReadStream |
Gets a read stream and uses it to read from a property. |
| GetString |
Gets a string property. |
| GetWriteStream |
Gets a stream and uses it to write to a stream property. |
| SetBool |
Writes a specified boolean property value. |
| SetBytes |
Writes a byte array property. |
| SetInt32 |
Writes an integer property. |
| SetString |
Writes a string property. |
Requirements
|
Minimum supported client |
Windows 8 |
|---|---|
|
Minimum supported server |
Windows Server 2012 |
|
Header |
|
See also
- IPrinterPropertyBag
- IPrinterScriptableStream
- IPrinterScriptContext::DriverProperties
- IPrinterScriptContext::QueueProperties
- IPrinterScriptContext::UserProperties
- V4 Printer Driver Property Bags