SetPrinterHeuristic Macro Sets "winspool=x" for All PrintersLast reviewed: October 10, 1997Article ID: Q104036 |
The information in this article applies to:
SYMPTOMSWhen Word for Windows is running with Windows NT, if you use the SetPrinterHeuristic macro (supplied with Word in NEWMACRO.DOC) to set a printer heuristic, the macro defines the following heuristic, no matter which printer driver is active
winspool=xwhere "x" represents the heuristic value. As a result, every printer uses the heuristic setting, and you cannot define unique heuristics for individual printers. In other words, a printer heuristic is an application-wide setting instead of a printer-specific setting when you run Word with Windows NT.
CAUSEWhen a Windows-based application (such as Word) queries the operating system for the name of the currently active printer driver, Windows NT always replies with "winspool" instead of the actual name of the printer driver. When you run the SetPrinterHeuristic macro, Word uses the printer driver name supplied by the operating system to create printer heuristic settings. Therefore, all printers appear to have the same driver name (winspool) to Word with Windows NT.
STATUSMicrosoft has confirmed this to be a problem in the versions of Microsoft Word for Windows listed above. This problem was corrected in Word version 6.0 for Windows. To obtain new or updated Microsoft products, call the Microsoft Sales Information Center at (800) 426-9400. If you are outside the United States, contact the Microsoft subsidiary for your area. To locate your subsidiary, call Microsoft International Customer Service at (425) 936-8661.
MORE INFORMATIONThe Word for Windows printer heuristic design is based on the Windows version 3.1 convention that refers to a printer using its unique printer driver name. As a result, you can set a heuristic for each printer when you run with Windows version 3.1. This functionality is not available when you run Word with Windows NT.
|
KBCategory: kbprint
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |