Top Navigational Bar

Entering Escape Sequences
DocumentID: 630558
Revision Date: 29-Feb-96 3:02:37 PM

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

Problem

Solutions: The tips below may be helpful when using escape sequences. The steps will allow you to use any escape sequence at a DOS level or in any other programs:

1.      Simply entering in the ASCII [27] to begin an escape sequence at DOS will not work. If this is done, the command will print as text. When the escape code is entered correctly, the command will be executed instead of printed.

2.      To create a file that will send the correct escape code, enter a DOS text editor, enter the correct value for Escape followed by the actual sequence and save the code as a file. This file can then be used to execute the sequence of commands entered in the file. Take the steps below to create such a file:
      a.      Enter the Office Editor.
      b.      Press Ctrl-V. The prompt Key: will appear.
      c.      Press the Escape key or enter the number 27 (the decimal value of Escape). This will place the character ^[ on the screen. If you press Alt-F3, the command 1B will appear under the Reveal Codes bar. This is the hexadecimal value for Escape. If a 1B does not appear, the Escape value was not entered and you should try again.
      d.      Enter the Escape sequence or series of codes.
      e.      Save the text as a regular DOS text file (F7 or F10).
      f.      Send the file to the desired location LPT1, COM1, etc., to execute the escape sequence. For example, type COPY TEST.DOC LPT1 at a DOS prompt.

The above steps are for use with the Office 3.0 Editor, but the same steps would apply for any DOS text editor.

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.