Creating a PrintCapabilities Document

This topic is not current. For the most current information, see the Print Schema Specification.

After a PrintTicket is validated, it can be used to create a snapshot of the PrintCapabilities. The provider must have an internal representation for any Property whose Value is dependent on the device configuration. For example, if SpotDiameter is a Property that is dependent on both the Resolution and MediaType Features, an internal representation of SpotDiameter as it relates to the various values for Resolution and MediaType might appear as in the following table:

Resolution MediaType SpotDiameter

300

Bond

520

300

Glossy

350

600

Bond

330

600

Glossy

180

1200

Bond

250

1200

Glossy

100

 

For this example, the PrintCapabilities provider must use the provided PrintTicket to select the proper entry from the internal table and report that as the Value for the SpotDiameter Property. This process is repeated for every multi-valued Property (for every Property whose Value is dependent on the configuration). The PrintCapabilities Schema and Document Construction section describes the other steps involved in creating a snapshot of the PrintCapabilities.

To create a snapshot of the default PrintCapabilities document, provide a default PrintTicket (rather than an arbitrary PrintTicket) to the method that creates PrintCapabilities documents.

Related topics

Print Schema Specification

 

 

Show: