IPrinterScriptContext interface

Passed to all third-party constraints JavaScript functions, and provides access to relevant objects.

Properties

The IPrinterScriptContext interface has these properties.
Property Access type Description

DriverProperties

Read-only Provides access to the driver property bag, if the property bag is present.

QueueProperties

Read-only Provides access to the queue property bag, if the property bag is present.

UserProperties

Read-only Provides access to the user property bag, if the property bag is present.

Methods

The IPrinterScriptContext interface has these methods.

Method Description
IPrinterScriptContext::get_DriverProperties Provides access to the driver property bag, if the property bag is present.
IPrinterScriptContext::get_QueueProperties Provides access to the queue property bag, if the property bag is present.
IPrinterScriptContext::get_UserProperties Provides access to the user property bag, if the property bag is present.

Requirements

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

See Also

V4 Printer Driver Property Bags