Sdílet prostřednictvím


Printable Area Test

This automated test verifies that a print driver can output lines to the outer edge of the printable area.

Test details

   
Specifications
  • Device.Imaging.Printer.Base.printRegions
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.

This test fails if any of the following problems occur:

  • The test does not produce output.

  • The debugger breaks in.

  • The test produces incorrect output.

  • The paper size measurements are incorrect

  • The log file indicates a failure.

Note

   Paper and print location measurements can vary by one-sixteenth (1/16) of an inch.

 

More information

The Printable Area test generates two single sheets, a portrait sheet and a landscape sheet). You should run this test on different paper sizes, such as A4, Letter, Envelope 10, and A5.

Check the following points in the print area test:

  • Four separate lines are drawn. Each one runs beyond the clipped region. (Each one must be 2 inches larger than the HORZRES and VERTRES properties produce).

  • Diagonals are drawn in this rectangle to identify the page center and to facilitate debugging if the reported printable region is incorrect.

  • A second rectangle is drawn to be 1 inch from the physical edge of the page.

  • A 2-inch square is centered horizontally on the page, 1 inch from the top printable region.

  • A line of text is added to indicate the paper size and page orientation and should be centered on the page's printable area.

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.