ElementChanges element
The required ElementChanges element contains the changes to the PrinterConfiguration, DefaultPrintTicket, or PrinterCapabilities elements, or changes to an IHV extension in the Printer.
ElementChanges is defined in the namespace at this URI: https://schemas.microsoft.com/windows/2005/05/wdp/print and referenced by the prefix wprt. (This resource may not be available in some languages and countries.)
Usage
<wprt:ElementChanges>
child elements
</wprt:ElementChanges>
Attributes
There are no attributes.
Text value
None
Child elements
Element | Description |
---|---|
Contains the printer's current default values for job and document creation. |
|
Defines the allowed values for job-related and document-related elements that can be specified to affect print processing. |
|
A collection of elements that describes the printer's configurable capabilities. |
|
Xxx |
Any IHV-defined elements. |
Parent elements
Element | Description |
---|---|
Informs the client that a configuration change has occurred in the printer. |
Remarks
The WSD Print Service must include an ElementChanges element when it generates a PrinterElementsChangeEvent element. Within ElementChanges, the Print Service must include only one of PrinterConfiguration, DefaultPrintTicket, PrinterCapabilities elements, or an IHV-defined element. Additionally, the Print Service should include only those child elements of PrinterConfiguration, DefaultPrintTicket, PrinterCapabilities, or the IHV-defined element that have actually changed values.
Examples of changes include the installation of a new option, a consumable that is running low, or an input bin that changed paper size.
The following syntax block shows that you must also prefix the names of the child elements with the appropriate namespace (in this case wprt), to be certain that your name references apply to child elements in the correct namespace.
<wprt:ElementChanges>
<wprt:PrinterConfiguration> data </wprt:PrinterConfiguration>
<wprt:DefaultPrintTicket> data </wprt:DefaultPrintTicket>
...
</wprt:ElementChanges>
See also
Send comments about this topic to Microsoft
Build date: 7/19/2012