Microsoft KB Archive/66094

EPS Macro Causes Ruler Units to Change to Points in 1.0

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

1.00 1.10 WINDOWS

Summary: If the FilePrint macro is canceled and encapsulated PostScript (EPS) file support has been added, the ruler display will change to points. The following steps will correct this problem: 1. From the Macro menu, choose Edit. 2. Select the FilePrint macro from the list. 3. From the Edit menu, choose Search and search for “Bye:” (without the quotation marks). 4. Add the following line below “Bye:”: If FilePrintPreview = 0 Then UtilCustomize .Units = SavedUnit

More Information: Adding EPS support alters the FilePrint macro. One of the changes involves changing the units of measure to points to facilitate handling files. When Cancel is chosen from the FilePrint dialog box, an error code is returned to the macro. The macro handles the error by giving control to the section labeled “Bye:”. The line to be added to the macro checks to see if the program is in PrintPreview mode; if not, then it resets the ruler with the settings the macro saved for the ruler. The check for FilePrintPreview is necessary to prevent an error code from occurring if a print is completed from within PrintPreview mode. The problem described above has been corrected in version 1.1a, which ships with an EPS graphic file filter that replaces the EPS macro.

Additional reference words: w4wmacro 1.00 1.10 metric file 1.10a 1.0 1.1