Share via


XPS Content Library - Discard Control Processing (MANUAL)

This manual test loads both valid and invalid XPS documents that contain discard control features, and then prints the documents to the specified printer. This test only has to be run if the consumer supports discard control processing. This test uses the XPS Content Library tool.

By using this test tool, you can generate jobs to send to a printer or to XPS serialization. This tool includes options for validating the XPS that the tool produces, or for selecting particular XML files. The tool exits after the tool prints each file one time.

Test details

Associated requirements

Device.Imaging.Printer.XPS.XPS

See the device hardware requirements.

Platforms

Windows 7 (x64) Windows 7 (x86) Windows 8 (x64) Windows 8 (x86) Windows Server 2012 (x64) Windows Server 2008 R2 (x64) Windows 8.1 x64 Windows 8.1 x86 Windows Server 2012 R2

Expected run time

~2 minutes

Categories

Certification Functional

Type

Manual

 

Running the test

Before you run the test, complete the test setup as described in the test requirements: Printer Testing Prerequisites.

In addition, this test requires the following:

  • Printer paper

Troubleshooting

For troubleshooting information, see Troubleshooting Device.Imaging Testing.

More information

The XPS Content Library tool prints a set of XPS file content that is a representative subset of the XPS specification. The tool uses a static set of XPS files.

An XPS print filter or device must consume all the valid XPS test files successfully and fail gracefully (that is, no crashes, "hangs," or resource leaks may occur) on the invalid XPS files.

This job is similar to the standard XPS Content Library job. However, this job focuses only on functionality that relates to Discard Control processing. The job only appears in the submission if the user has specified that the test printer supports Discard Control processing.

This job must only print one page. The page must be titled "Valid Discard Control" and contain a multi-colored circle inside a black square box, as seen in the following image:

The following documents relate to Discard Control processing:

Document name Description

M10.6a

DiscardControl references itself (TargetUri)

M10.6b

DiscardControl references itself (SentinelUri)

M10.23a

Multiple DiscardControl package relationships

DiscardControl.xps

Valid XPS file that contains a discard control

 

 

 

Send comments about this topic to Microsoft