Developing a Minidriver with Unitool

The Windows NT Unitool is a development tool that allows driver writers to easily create a minidriver for their raster printer. It permits GPC data to be organized and defined into a minidriver for a single raster printer or a group of similar raster printers. Unitool automatically combines the printer description file with a layer of RasDD interface code to create a minidriver. The GPC data that Unitool creates in the minidriver provides the resources that RasDD requires to run a printing device. This eliminates the need to create a complex driver for every printer within a family of similar printing devices.

Unitool, sample GPC data, and other related files and information required to build a minidriver are provided in the Windows NT DDK. Sample GPC data, used to create actual Windows NT minidrivers, is provided for the following printer drivers:

To save development time, driver writers can start with the supplied GPC data set that most closely resembles the characteristics of their raster printer, and customize it to fit their device.

The GPC resource data in Unitool enables you to collect comprehensive information about the related printer driver in the minidriver. Each minidriver supports RasDD and the RasDD user interface. For the user interface, the minidriver data defines general information about the printer, such as the number of available paper trays, and what form is contained in which tray.

The subsequent topics:

Subsequent topics provide detailed descriptions of each type of information contained in Unitool, including:

Note  Unitool creates data files (including PFM and CTT) that are compatible with Windows 95 and Windows 3.1. You must convert these files to the necessary format to work on Windows NT. For more information, see Converting a Minidriver to Windows NT.

Many topics contain examples of minidriver data for the following printer types:

The Kodak Diconix printer is an ink-jet printer that uses a command set similar to the Epson and IBM dot-matrix printer command set. The HP LaserJet IIP printer is a laser printer that uses HPPCL. The HP PaintJet is an ink-jet color printer that is used as an example to describe color support for the minidriver.