## Using Your DDK

[prev][next][parent][TOC]

### 32-Bit Printer Test Tool

Tool Description:

The 32-Bit Printer Test Tool is a Presentation Manager application that enables the user to select one or more tests and execute them. Also provided is a script interface that permits the PTT to run predefined test- case scripts automatically.

Compilers/Assemblers Required:

         IBM VisualAge C++ V3.0
         OS/2 Toolkit for OS/2 2.1 or later

Build Instructions:

Note:

When building, we have found that VDISKs as large as 2MB have caused build breaks. If your TMP variable is set to a VDISK, it is advisable to reset it to a hard drive before building.

1.Make sure you have the IBM VisualAge C++ V3.0 compiler installed.

2.Set the environment variables so that the correct tools are picked up during the build.

    e.g., SET PATH=<drive>:\DDK\TOOLS;%PATH%

Where <drive> represents your DDK installed drive and DDK represents the DDK installed directory. On the CD-ROM, the TOOLS directory path is DDK\ TOOLS.

3.Change the directory to DDK\PRINT\SRC\TESTTOOL\PTT.

4.Invoke NMAKE on the resident makefile.

Files Created by Successful Build:

         Directory:  \DDK\PRINT\SRC\TESTTOOL\PTT

         o  PTT.EXE         (\DDK\PRINT\SRC\TESTTOOL\PTT\PTT32\)
         o  FONTLIST.EXE    (\DDK\PRINT\SRC\TESTTOOL\PTT\STRESS\)
         o  ONEFONT.EXE     (\DDK\PRINT\SRC\TESTTOOL\PTT\STRESS\)

         Each of the remaining files are stored in a subdirectory
         whose name corresponds to the name of the DLL:

         o  GPIARC.DLL
         o  GPIAREA.DLL
         o  GPIBTMP.DLL
         o  GPICHAR.DLL
         o  GPICLIP.DLL
         o  GPICOLOR.DLL
         o  GPIELMNT.DLL
         o  GPIFONT.DLL
         o  GPIIMAGE.DLL
         o  GPILINE.DLL
         o  GPIMARK.DLL
         o  GPIMETA.DLL
         o  GPIPATH.DLL
         o  GPIPCLIP.DLL
         o  GPIREGN.DLL
         o  GPISEG.DLL
         o  GPISHADE.DLL
         o  GPISTD.DLL
         o  GPIVIEW.DLL
         o  GPIXFORM.DLL
         o  STRESS.DLL