Microsoft KB Archive/27951

Purpose of WidthTSwap Flag in a Printer Driver

PSS ID Number: Q27951 Article last modified on 11-02-1994

3.x 4.00 5.00 5.50 6.00

MS-DOS

= SUMMARY =

There is a limit of 64 font description tables, 128 character width tables, and 32 character translation tables allowed in a printer driver. If a printer driver is modified so that it becomes too large, the “Insufficient memory” error message will appear when the driver is loaded into memory by being selected in the Print Options “printer:” field. In Word 5.50, the error message will appear when the driver is loaded into memory by being selected in the File Printer Setup “Printer File:” field.

The WidthTSwap flag in the header section of a PRD will determine how much of a printer driver is loaded into memory. The WidthTSwap flag tells Word to either load one character width table into memory at a time, or to try to load all character width tables in the printer driver into memory at the same time.

If the WidthTSwap flag is set to a value of 0 (zero), Word will load all character width tables into memory.

If the WidthTSwap flag is set to value of 1, Word will load only one character width table into memory at a time, swapping additional ones in and out of memory as needed.

If you are using a large printer driver file, set the WidthTSwap flag to a value of 1 to conserve memory.

KBCategory: kbprint kberrmsg KBSubcategory: kbenv Additional reference words: ============================================================================= Copyright Microsoft Corporation 1994.