PrintSpy
Note This content applies to the Windows Logo Kit (WLK). For the latest information using the new Windows Hardware Certification Kit (HCK), see Windows HCK User's Guide on the Windows Hardware Dev Center.
Type: Automated Test
Overview
PrintSpy is a tool that automatically executes debugger commands when there is an Application Verifier break. The debugger commands depend on the stop code.
Note PrintSpy does not introduce new points of failure; it simply makes existing failures associated with Application Verifier easier to discover and diagnose.
Details
Currently, PrintSpy is enabled for the following tests:
Documents Properties Test (Ansi)
Documents Properties Test (Unicode)
Photo Print Test
Print Driver Device Capabilities Test (PrDeviceCapabilities) - library job modified
Print Driver DevMode Corruptor Test
Print Driver Stress Test
Printable Area Test
Printer Port Monitor MIB Verification Test
PrintTicket Test
WSDMon Printer Verification Test (Windows 7)
PrintSpy generates XML logs under %SystemDrive%\Printspy on the client machine. To view the files, go to the client and open the XML files in the PrintSpy directory. After the test completes, the XML logs from %SystemDrive%\PrintSpy are copied to the DTM Controller. To view the logs, go to DTM Studio, right-click the test, and select Browse Job Logs.
There are two logs:
PrintSpy_[TestName].xml
PrintSpy_spoolsv_dbg.xml
If the log has only one line that starts with "PrintSpy was unable to continue...," no AppVerif breaks were hit.
If the log contains tables, it shows which Stop Code(s) were hit, as well as the commands executed by PrintSpy on the debugger.
Note If you are not sure whether the test is running, press Enter in the printspy or debugger window. This executes the last debugger command. If a debugger command is executed, then there has been a stop. Review the printspy logs and perform additional debugging. If nothing occurs, then the test is still running.
System Restart Required: No
Supported operating systems for Logo or Signature testing:
Windows 7
Windows Server 2008 R2
Windows Vista
Windows XP
Windows Server 2003
Requirements
Software Requirements
The test tool requires the following software:
Supported operating system (see list above)
Software components included with the device that is being tested
Hardware Requirements
The test tool requires the following hardware:
Device to be tested
Computer that meets the minimum software requirements
Windows keyboard
Two-button pointing device
Color display monitor capable of at least 1024 by 768 resolution, 32-bits per pixel, 60 Hz
Hard drive with a minimum of 20 GB available on partition C:
Processor
The test tool runs on the following processor architectures:
x86
x64
IA64
Build date: 9/14/2012