Dela via


PrintTicket Test

This automated test exercises the unmanaged PrintTicket and PrintCapabilties APIs that are part of Windows Vista and newer version of Windows.

If you have the Windows Driver Kit (WDK) test suite at the command line, the test tool sequentially runs the test cases that the TestSuite.xml file mentions. For the WDK test suite, the test cases call all of the native PrintTicket and PrintCapabilities APIs sequentially by using valid input parameters and expect valid output.

You can use this test to evaluate:

  • A driver's implementation of the PrintTicket and PrintCapabilities COM callable interface: IPrintTicketProvider.

  • A driver plugin's implementation of the PrintTicket and PrintCapabilities COM callable interface: IPrintOEMPrintTicketProvider.

  • A legacy driver's PrintTicket and PrintCapabilities shim layer. You can test the PrintTicket and PrintCapabilities API calls for legacy printers that do not support the IPrintTicketProvider interface.

Test details

   
Specifications
  • Device.Imaging.Printer.Base.printTicket
  • Device.Imaging.3DPrinter.Base.PrintTicket
Platforms
  • Windows 10, client editions (x86)
  • Windows 10, client editions (x64)
  • Windows Server 2016 (x64)
  • Windows 10, client editions (Arm64)
Supported Releases
  • Windows 10
  • Windows 10, version 1511
  • Windows 10, version 1607
  • Windows 10, version 1703
  • Windows 10, version 1709
  • Windows 10, version 1803
  • Windows 10, version 1809
  • Windows 10, version 1903
  • Next update to Windows 10
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.

Warning

   Any attempt to change the system default printer while the test is running might lead to inconsistent results.

 

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.