The information in this article applies to:
SUMMARY
In Word 2.x for Windows, you can use a method called "Setting Printer
Heuristics" to adjust the way Word for Windows interacts with the printer
driver. This can be useful when the printer is set for an emulation (and
printer driver) that has different envelope feeding characteristics than
the printer's normal mode.
MORE INFORMATIONIf an envelope or custom size document is printing incorrectly in Word 2.x, you can use one of the following methods to set a printer heuristic to correct this problem: Method 1: Setting a Printer Heuristic Using SetPrinterHeuristics Macro
Note: To close the dialog box without making changes, choose the Cancel button rather than the OK button. Choosing the OK button will set the heuristic to 0 unless you make a change in the feed options. Method 2: Setting a Printer Heuristic by Editing the WIN.INI FileRather then using the SetPrinterHeuristics macro to modify the WIN.INI file, you may open the WIN.INI file in an editor such as Word or NotePad, add or modify the Microsoft Word 2.0 section, save, and close the file.The next section discusses the various printer heuristic options and the associated WIN.INI settings. If you are unsure of the printer driver file name or what setting to use, we recommend that you use the SetPrinterHeuristic macro instead. To make a modification, add a line to the [Microsoft Word 2.0] section of the WIN.INI file that indicates your printer name and the number corresponding to the following list of functions:
For example, if envelopes feed from your PostScript driver from the
left side, and Word for Windows assumes that they feed from the right,
you can add the line
PSCRIPT=+2to the [Microsoft Word 2.0] section in the WIN.INI file to feed envelopes from the left. If your Lasermaster LJMAX.DRV driver needs a left feed for envelopes, and PostScript images are too coarse, you can add the line LJMAX=+18to the [Microsoft Word 2.0] section in the WIN.INI file to feed envelopes from the left and print images at a higher resolution. Note: 18 is the sum of options 2 and 16: 2 for left, and 16 for do NOT halve printer resolution. If a homebuilt driver ABCDEF.DRV feeds from the left, does not require halved picture resolution, and is a Windows 3.0 buggy version that fills up the memory buffer when you choose Page Setup, you can add the line ABCDEF=274to the [Microsoft Word 2.0] section in the WIN.INI file to feed envelopes from the left, print images at a higher resolution, and account for a buggy version of the driver. Note: 274 is the sum of options 2 for left, 16 for do NOT halve printer resolution, and 256 for the buggy 3.0 driver fix. The plus sign (+) is never required, but it is a good idea to include it to avoid losing unrelated information. The purpose of the plus sign is to set only one flag while allowing Word for Windows to decide whether the rest of the flags are set. The only number that you should not use with the plus sign is 256. The plus sign does NOT work with option 256. You should omit the plus sign and set "driver=288" to set both 256 and 32 bits. Note: Only use the 256 heuristic with printers that would otherwise crash or get unacceptable results when accessing the Page Setup dialog box or printing. Word for Windows internally sets the 256 heuristic for the following Windows version 3.0 drivers:
Additional query words: shipped 2.0 winword2 winword
Keywords : |
Last Reviewed: December 23, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |