PrintTicket Conformance Test
This automated test uses a conformance tool (PTConform.exe) that verifies the validity of PrintTicket and PrintCapabilities documents. PTConform verifies that a particular PrintTicket and PrintCapabilities API syntactically and structurally conforms to the public PrintSchema specification.
The PrintSchema specification describes an XML-based format for expressing and organizing a large set of properties that describe either a job format or capabilities of a print queue in a hierarchically structured manner. The PrintSchema specification has well-defined public framework elements and public keywords.
The PTConform test tool treads through an XML document and tests each node to make sure that the node is a valid public framework element. After the test verifies the framework element, the test determines whether the framework element defines any public keyword element. If so, the test determines whether the keyword conforms to the PrintSchema specification.
Note
If a framework node contains a printer driver's private namespace keyword instead of a public keyword, the test skips keyword validation for that node.
Test details
Specifications |
|
Platforms |
|
Supported Releases |
|
Expected run time (in minutes) | 2 |
Category | Scenario |
Timeout (in minutes) | 120 |
Requires reboot | false |
Requires special configuration | false |
Type | automatic |
Additional documentation
Tests in this feature area might have additional documentation, including prerequisites, setup, and troubleshooting information, that can be found in the following topic(s):
Running the test
Before you run the test, complete the test setup as described in the test requirements: Printer Testing Prerequisites.
Troubleshooting
For generic troubleshooting of HLK test failures, see Troubleshooting Windows HLK Test Failures.
For troubleshooting information, see Troubleshooting Device.Imaging Testing.
Note
The results of the test are logged in the PTConform.log or PTConform.xml log file depending on the log type that the command-line parameters specify.
More information
Parameters
Parameter name | Parameter description |
---|---|
LLU_LAU | Logical Local User. |
LLU_NetAccessOnly | Logical Local User: Network Access only. |
TestExecutableName | Test Executable name. |
WDKPrinterName | Printer name. |