Microsoft KB Archive/69955

WinWord FilePrinterSetup .Printer Is Case Sensitive

PSS ID Number: Q69955 Article last modified on 02-17-1993

1.00 1.10 1.10a WINDOWS

Summary: Any input into the line FilePrinterSetup .Printer = of a Word for Windows macro is case sensitive. If improper case is used, the macro will run; however, selecting Printer Setup from the File menu will show that no printer is selected and the Setup button will be dimmed. For example: REM Good Macro Sub MAIN SendKeys “%L{enter}” FilePrinterSetup .Printer = “PostScript Printer on LPT2:”, .SETUP FilePrinterSetup .Printer = “PostScript Printer on LPT2:” End sub REM Bad Macro Sub MAIN SendKeys “%L{enter}” FilePrinterSetup .Printer = “postscript printer on lpt2:”, .SETUP FilePrinterSetup .Printer = “postscript printer on lpt2:” End Sub

Additional reference words: w4wmacro