Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/104036

From BetaArchive Wiki

SetPrinterHeuristic Macro Sets "winspool=x" for All Printers

Q104036



The information in this article applies to:


  • Microsoft Word for Windows, versions 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c, used with:
    • The Microsoft Windows NT operating system, version 3.1
  • Microsoft Windows NT Advanced Server, version 3.1





SYMPTOMS

When 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=x 

where "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.



CAUSE

When 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.



STATUS

Microsoft 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 INFORMATION

The 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.

Additional query words: 2.0 winword2 winnt winword

Keywords :
Issue type :
Technology : kbWinNTsearch kbWinNTSsearch kbWinNTAdvSerSearch kbWinNTAdvSer310 kbOSWinNT kbWordSearch kbWordWSearch kbOSWinSearch


Last Reviewed: November 4, 2000
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.