1.2.1.2 The Driver Data Table
The driver data table consists of 15 data structures. Following are the
structures and a brief description of each:
Structure Description
---------------------------------------------------------------------------
COMPRESSMODE Identifies a data-compression mode and specifies the
printer-command strings which select this mode. This
structure also contains the printer-command strings which
select the specified compression mode.
CURSORMOVE Specifies the limitations of the printer's cursor-movement
commands. This structure also contains the command strings
which move the printer's cursor.
DEVCOLOR Specifies the printer's color capabilities. This structure
also contains the command strings which enable color
output.
DOWNLOADINFO Specifies the printer-command strings which download fonts.
FONTCART Identifies a font cartridge. This structure also contains
the printer-command strings which select the specified
cartridge and identifies the fonts on that cartridge.
FONTSIMULATION Specifies the printer-command strings which enable and
disable bold, italic, underline, and strikethrough font
simulations.
MODELDATA Specifies the characteristics of a single printer model.
(A single minidriver may support several models of a
manufacturer's printer.)
PAGECONTROL Specifies the printer-command strings which initialize the
printer, select the paper orientation, and so on.
PAPERDEST Identifies a paper output bin that collects pages. This
structure also contains the printer command strings which
select the specified bin.
PAPERQUALITY Specifies a media type (that is, plain paper, coated
paper, or transparency) on which the printer is capable of
printing. This structure also contains the printer-command
strings which configure the printer for printing on a
particular medium.
PAPERSIZE Specifies the dimensions of a piece of paper on which the
printer is capable of printing. This structure also
contains the printer-command strings which configure the
printer for the specified paper size.
PAPERSOURCE Identifies a paper bin or feeding mechanism. This
structure also contains the printer-command strings which
select the specified paper bin or feeding mechanism.
RECTFILL Specifies the printer's rectangle-fill capabilities. This
structure also contains the command strings which fill
rectangular regions.
RESOLUTION Specifies a horizontal and vertical raster-graphics
resolution that the printer supports. This structure also
contains the printer-command strings which select the
specified resolution.
TEXTQUALITY Identifies a text quality which the printer supports (that
is, draft, near letter, or letter). This structure also
contains the printer-command strings which select the
specified text quality.
Most of the structures in the printer's data table correspond to one or
more of the dialog boxes that appear in the UniTool application. By setting
the controls in the dialog boxes, you actually initialize the members of
these structures.