Dec 252017
 
This file includes two versions (for 5.0 and 5.1) of a WordPerfect envelope macro that has some unusual features, including address parsing and a graphic display.
File WPENVRB2.ZIP from The Programmer’s Corner in
Category Word Perfect
This file includes two versions (for 5.0 and 5.1) of a WordPerfect envelope macro that has some unusual features, including address parsing and a graphic display.
File Name File Size Zip Size Zip Type
ENV50A.WPM 4664 1468 deflated
ENV51A.WPM 6098 1954 deflated
WPENVRB.DOC 1320 700 deflated

Download File WPENVRB2.ZIP Here

Contents of the WPENVRB.DOC file


This file includes two versions (for 5.0 and 5.1) of a
WordPerfect envelope macro that has some unusual features,
including address parsing and a graphic display.

The macro searches the beginning section of a document for a date
code or a line ending in 19xx{Hrt}, then looks for an address,
blocks it, shows a graphic of the envelope, and asks if you want
to print it. If you have no date or date code, the macro prompts
you to block the address manually, or to type in an address, and
then proceeds. Note that the sequence and direction of searching
is critical to the parsing routine. This ensures that P.O. Box
1990{Hrt}, for example, isn't mistaken for a date in the search.
The macro also assumes preprinted envelopes, but is commented for
the necessary changes if you are printing your own return
address.

The principal addition in the 5.1 version is a test for whether
the Printer Control is waiting for a Go. Since the macro reminds
the user to insert the envelope, the macro will send the Go
automatically.

by Randy Brook, Seattle, WA 1/16/90
CIS 74007,2332

Updated 1/21/90 to ENV50A.WPM and ENV51A.WPM. In both
versions the macro now puts in a Suppress All This Page Only
code for the envelope. Also, there is a minor esthetic
change to one of the prompts in the 5.1 macro.


 December 25, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)