Printers and Fonts Kit(3.1) (pfk31qh.hlp) (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
TRANSTABLE
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
typedef struct tagTRANSTABLE {
    SYMBOLSET symbolSet;        /* kind of translation table */
    DWORD offset;               /* location of user-defined table */
    WORD len;                   /* length (in bytes) of table */
    BYTE firstchar,lastchar;    /* table range */
} TRANSTABLE;
 
The TRANSTABLE structure contains information needed to translate font
characters from the character set specified by the dfCharSet member into the
printer-specific character set.
 
Member     Description
────────────────────────────────────────────────────────────────────────────
 
symbolSet  Specifies the symbol-set identifier, such as epsymRoman8 or
           epsymECMA94.
 
offset     Specifies the byte offset from beginning of the file to a
           custom-translation table.
 
len        Specifies the size of the custom-translation table.
 
firstchar  Specifies the first character translated in the table.
 
lastchar   Specifies the last character translated.
 
Comments
 
When the symbolSet member of the xtbl member equals epsymUserDefined, the
driver uses the custom-translation table pointed to by the offset member of
the xtbl member. However, the Windows PCL driver currently ignores all
members in the TRANSTABLE structure except the symbolSet member of the xtbl
member. In other words, even if a custom-translation table is put in for
future support, the current driver ignores it.
 
                                      ♦