Print Driver Rendering Test (pgremlin)

Print Driver Rendering Test (pgremlin)

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

The Print Driver Rendering Test (pgremlin) checks DDI calls that a driver can make. This test produces numerous pages of output with shapes and gradient fills and alpha blends. It also prints and tests some complex fonts.

Details

Pgremlin tests the possible DDI calls a driver can make. It uses .emf files that are printed out on the device. It can find output problems that a particular driver or device might have when performing a specific DDI call.

The test prints three pages of circular font wheels. The first page contains three font wheels followed by two Korean string lines. The second page contains two font wheels and the third one contains three font wheels. The font wheels should be in the font and size indicated above the wheel. The wheels should be uniform, with all lines of same size and weight. All three pages of font wheels will be printed out for each font download type. Each of the EMF files prints a title bar that contains the full path to the file printed, on the top left corner of the page.

One page with gradient fill bars is printed. The top of the page has seven horizontal gradient fill bars. Output should start at full density and lighten gradually to the right following the pattern that is listed just above the bar. The middle of the page has two triangular gradient fills. The one on the left starts in the middle and fills outward to a black edge. The one on the right starts on the outside and fills to a black center. At the bottom of the page there are seven vertical gradient fills. The darkest part of the fill is at the top with gradual progression to lighter at the bottom.

The following list describes additional test files:

  • ALPBLD00.emf: This test prints six columns of two rectangles. In each column, the two rectangles are connected by a single gray rectangle in the background that runs the entire length of the column. The first column (left) is solid gray rectangles. The remaining five columns use various patterns to fill from red inside, to solid gray on the outside.

  • ALPBLD09.emf: This test prints six columns of two rectangles. In each column, the two rectangles are connected by a single gray rectangle in the background that runs the entire length of the column. The first column (left) is solid black rectangles with a small white rectangle in the middle. The remaining five columns start with a white square on the inside with colored rectangles progressing outward from lighter colors to black on the outside.

  • Binrop00.emf: This test prints two boxes side by side. The boxes consist of a left black rectangle side, gray rectangle right side, and various hatch pattern rectangles as connecting crossbeams inside the box.

  • Bitblt13.emf: This test prints six columns of two rectangles. In each column, the two rectangles are connected by a column (left) and solid black rectangles. The remaining five columns use various patterns to fill from green inside, to solid black on the outside, with an overlaying hatch pattern.

  • Brush15.emf: This test prints six columns of two rectangles. In each column, the two rectangles are connected by a single gray rectangle in the background that runs the entire length of the column. Each of the rectangles has a pair of solid black lines that rung down the approximate middle of the rectangle. The rest of the rectangle is filled with a multicolored checkerboard pattern.

  • Excel_j1.emf: This test prints out a pie chart in Japanese with two circular pie charts on a gradient background at the bottom. The Japanese language is used in most of the part of the page. The first line of the chart is in English and says "Excel 2000 JP20_LET.xls".

  • Mskblt15.emf: This test prints six columns of two rectangles. In each column, the two rectangles are connected by a single gray rectangle in the background that runs the entire length of the column. The first column (left) is solid black rectangles with a white star in the middle. The remaining five columns have a white star in the middle with a hatch pattern on half the inside, and the rest of the rectangle is a gradual gradient fill from gray on the inside to solid black on the outside.

  • Path02.emf: This test prints nine gray vertical rectangles in the background. In the foreground left is reverse filled varying sizes of Arial normal font. On the right foreground is normal fill varying sizes of Arial normal font.

  • Pen09.emf: This test prints two sections of three vertical gray rectangles. The left and right sections have dotted line drawings that are symmetrical and appear to create a four-point star if they met in the middle.

  • Plgblt00.emf: This test prints six columns of two diamonds with a small rectangle in the middle. In each column, the three objects are connected by a single gray rectangle in the background that runs the entire length of the column. The first column (left) is solid black diamonds and rectangle. The remaining five columns start with red in the center and gradient fill outward to a solid black edge.

  • Region00.emf: This test prints four columns of three objects. The first object is a star, the second object is a circle, and the third object is a square. In each column, the three objects are connected by a single gray rectangle in the background that runs the entire length of the column. In the first and the forth column, all the objects are solid hatch filled object (the star actually has a pentagon shaped hole in the middle.) In the second column, all three objects are a hatched outline of the object. In the third column, the objects are solid black but are behind the gray rectangle running the length of the column.

  • Sbmode04.emf: This test prints three rows of four squares. Each of the squares has a coordinate "(0,0)" printed in the upper left corner. Each square starts with white in the center and fills outward to black on the edge.

  • Setdib01.emf: Same as Alpbld09.emf. The only difference here is that the first column is not solid black, but rather is a black rectangle with a dark red smaller rectangle inside it, and a smaller black rectangle inside the dark red one.

  • Strblt03.emf: This test prints six columns of two rectangles. In each column, the two rectangles are connected by a single gray rectangle in the background that runs the entire length of the column. The first column (left) is only the gray background rectangle. All following rectangles in the columns are transparent, which affects how they look when they overlap the background gray rectangle. The second column has solid gray rectangles, with a smaller gray rectangle inside it.

  • Strblt13.emf: This test prints two sets of mirrored rectangles. The top four rectangles consist of two multicolored rectangles with coordinate pairs in the center of the screen "(0,0)" that then mirrored into two top rectangles of the same design. The bottom set of four rectangles follow the same pattern.

  • Strdi03i.emf: Same as description of Strblt03.emf. The only difference is that there is color in the third column.

  • TRNBLT09.emf: This test prints six columns of two rectangles. In each column, the two rectangles are connected by a single gray rectangle in the background that runs the entire length of the column. The first column (left) is solid black rectangles with a small white rectangle in the middle. The remaining five columns start with a white square on the inside with colored rectangles progressing outward from lighter colors to black on the outside.

Run Time: 2 minutes
Log File: Pgremlin.log; Pgremlin.wtl; Pgremlin_DeviceLogger.xml
System Restart Required: No
Test Category:
Supported operating systems for Logo or Signature testing:
  • Windows 7

  • Windows Server 2008 R2

  • Windows Vista

  • Windows Server 2003

  • Windows XP

Program:

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

  • x86

  • x64

  • Itanium

Running Print Driver Rendering Test (pgremlin)

Test Assertions

Windows Logo Program: IMAGING-0030 Printer drivers must be correctly implemented based on the content of the WDK

 

 

Build date: 9/14/2012

Community Additions

ADD
Show:
© 2016 Microsoft