The information in this article applies to:
SUMMARYYou can change printer driver settings such as resolution, paper orientation, and paper size with a Microsoft WordBasic macro that includes the SendKeys command. Word versions 6.0, 7.0 and NTWhen you are using the SendKeys command, and there is no active printer, you will receive the following error message:
Word versions 1.xIf no default printer has been set or no printer is active, a macro that uses the SendKeys command to access a printer driver in Word version 1.x for Windows will cause an unrecoverable application error (UAE) (if you are using Microsoft Windows version 3.0) or a general protection (GP) fault (if you are using Windows version 3.1).MORE INFORMATION
WARNING: ANY USE BY YOU OF THE CODE PROVIDED IN THIS ARTICLE IS AT
YOUR OWN RISK. Microsoft provides this macro code "as is" without
warranty of any kind, either express or implied, including but not
limited to the implied warranties of merchantability and/or fitness
for a particular purpose.
REFERENCES"Using WordBasic" by WexTech Systems, Inc. and Microsoft Corporation, Microsoft Press, 1992. Additional query words: winword2 send keys 1.0 word6 winword 7.0 word95 word7 1.10a 2.0 6.0
Keywords : kbmacro kbprint |
Last Reviewed: October 6, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |