APPLICATION NOTE #164 USING ADDRESSELOPE WITH XYWRITE III PLUS Rev. 01 This application note describes how to use Addresselope, a pop-up utility program, with XyWrite III Plus. PROGRAM DESCRIPTION Addresselope is designed to help you address envelopes on a Hewlett Packard LaserJet or compatible. Among the features supported by Addresselope are automatic address capture and storage of up to ten return addresses. Addresselope is available from Barry A. Watzman, 560 Sunset Road, Benton Harbor, Michigan 49022-7142, Telephone: (616) 925-3136). INSTALLING ADDRESSELOPE To install Addresselope, complete the following steps: 1. Load XyWrite. At the DOS prompt: Type: editor 2. Copy the Addresselope program onto your working disk or onto the root directory of your hard disk. For example: Type: F5copy a:adrselop.com c:\ 3. Call the file AUTOEXEC.BAT and add the following line to the file. This line must appear before the line that loads XyWrite (i.e., EDITOR). Type: adrselop{ASC-27} 4. Store AUTOEXEC.BAT and quit XyWrite. Type: F5store Type: F5quit 5. Boot the system to load both Addresselope and XyWrite into memory. Press: Ctrl-Alt-Del CUSTOMIZING XYWRITE By default, the Addresselope hot key is AltIns. Because XyWrite III Plus does not pass this key combination to other programs, you need to modify your XyWrite key~board file so that it does pass the keystrokes to Addresselope. 1. Call your keyboard file to the screen. For example: Type: F5ca ibm.kbd 2. Search for TABLE=ALT. Type: F5se /table=alt{Ctrl-}/ (You enter a carriage return on the command line by pressing Ctrl.) 3. Move the cursor to the definition for key 82. Type: F5se /82=/ 4. Delete everything between the equal sign and the carriage return. 5. Immediately after the equal sign, enter a null character (ASCII 0). Press: Alt-Shift-0 Result: An ASCII 0, which looks like a space, appears after the equal sign. 6. Store and load the keyboard file. Type: F5st Type: F5load ibm.kbd Result: You can now activate Addresselope by pressing AltIns. USING ADDRESSELOPE WITH XYWRITE You can use Addresselope's Capture function to capture a block of text (e.g., an address) from a XyWrite file for printing on an envelope. 1. Call the document that contains the address you want to capture. 2. Activate Addresselope. Press: Alt-Ins 3. Type: C Result: Addresselope's capture mode is now active, and the cursor is in the upper left corner of the screen. 4. Use the cursor keys to move the cursor to the first character of the address you want to capture. 5. Mark the beginning of the address block. Press: + (on the numeric keypad) 6. Move your cursor to the end of the address block. Result: The address block appears in reverse mode. 7. Mark the end of the block. Press: + (on the numeric keypad) Result: The Addresselope menu appears, with the PRINT option highlighted. 8. Select the PRINT option. Press: Result: The captured address is sent to your Hewlett Packard LaserJet. Note #1 Return Address. You cannot use Addresselope's Capture function to capture return addresses. They must be set up in Addresselope according to the instructions in the Addresselope User's Manual. Note #2 Print Format. XyWrite does not control the font or placement of text on the envelope. To change the print format, refer to the Addresselope User's Manual.