Top Navigational Bar

Ctrl-E Macro For Printing An Envelope Not Wor
DocumentID: 606075
Revision Date: 29-Feb-96 1:31:37 PM

The information in this document applies to:
WordPerfect® 5.1 for DOS

Problem

Solutions: A customer was using the Ctrl-E macro (for printing an envelope) from the macros keyboard. When he retrieved a document and invoked the macro, it would work properly the first time only. Then, whenever he put the cursor on a different address and invoked the macro, it would print out the first address again.

The macro marks the first address by inserting [Math On][Math Off] codes when the user positions the cursor in response to the prompt "Position Cursor At Top Of Label And Press Enter." These codes act as a marker for the beginning of the name and address. If the macro is run a second time on the same document, the user does not get the prompt to position the cursor because the [Math On][Math Off] codes are still present. Because the user is not prompted, the same address will be printed repeatedly.

To avoid duplication of the same name and address, follow the prompt the first time the macro is run by placing the cursor at the beginning of the address and pressing Enter. With all other executions, the macro would need to be edited in order to prompt the user. To edit this macro, do the following:
1.      Go into Setup (Shift-F1).
2.      For WP 5.0: Select 6 (Keyboard Layout), make sure the Macro Keyboard is selected, and choose 5 (Edit).
      For WP 5.1: Select 5 (Keyboard Layout), make sure the Macro Keyboard is selected, and choose 7 (Edit).
3.      Highlight Ctrl-E (the envelope macro) and select 1 (Edit/Action).
4.      For WP 5.0: When the macro appears on the screen, select 2 (Action) and cursor through the macro until you see the second {DISPLAY OFF} code. There is a line that contains the following: {MATH/COLUMNS}m{MATH/COLUMNS}m{;}Insert location mark~. Delete this line.
      For WP 5.1: When the macro appears on the screen, cursor through the macro until you see the second {DISPLAY OFF} code. There is a line that contains the following: {COLUMNS/TABLES}31{COLUMNS/TABLES}32 {;}Insert Location Mark~. Delete this line.
5.      Press F7 until you are back to the WordPerfect document screen. Make sure there are no [Math On]/[Math Off] codes in Reveal Codes. If there are, the macro will still not work correctly.

Answer:

Details:


Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER.