Bewerken

Delen via


IPrinterScriptContext interface (printerextension.h)

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

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.

Inheritance

The IPrinterScriptContext interface inherits from the IDispatch interface.

Methods

The IPrinterScriptContext interface has these methods.

 
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

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

See also

V4 Printer Driver Property Bags