Microsoft KB Archive/62603

Word Err Msg: WordBasic Error 5 When Canceling a Print Job

PSS ID Number: Q62603 Article last modified on 02-18-1993

1.00 WINDOWS

Summary: After the EPS Support macro has been installed from EXAMPLES.DOC, Microsoft Word for Windows returns the error message “WordBasic Error 5 Illegal Function Call” every time you cancel a print job. The following may also occur: 1. The ruler will change to the points unit of measurement. 2. The Show All option in the View Preferences menu will be chosen. 3. The print job will print, even though the selection to cancel the print job has been chosen. The above situations occur as a result of the EPS macro, which alters the File Print and the Insert Picture macros. These alterations are described below.

More Information: The ruler changes because when an EPS graphic is read and scaled, it is easier to calculate the scaling ratio using a base-10 measurement system. The Show All option is displayed because when the EPS document is sent to the printer, all the field codes that are present within a file are displayed and updated. When the print function is canceled it has already turned the Show All option on and is left displaying this option when the print job is canceled. Microsoft has confirmed this to be a problem in Word for Windows version 1.00. This problem was corrected in Microsoft Word for Windows version 1.10a.

Additional reference words: w4wfont w4wmacro