home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / msdos / pcmag / vol7n22.arc / ENVELOPE.DOC < prev    next >
Encoding:
Text File  |  1988-11-22  |  2.4 KB  |  50 lines

  1.  
  2. ENVELOPE.COM
  3. Command
  4.  
  5. Ron Saidikowski 
  6. 1988 No. 22 (Utilities)
  7.  
  8. Purpose:    A memory-resident utility that captures a name and address field
  9. from the screen and prints it, with an optional return address, on an envelope
  10. fed into a laser printer.
  11.     
  12. Format:    [d:][path]ENVELOPE [/U] /Pxx /Ln [/R]
  13.     
  14. Remarks:    Entered without command line parameters, ENVELOPE defaults to
  15. /PL1 (printer port LPT1:) and /L2 (LaserJet II or compatible printer with
  16. center-feed envelope slot.  Other values for xx are L2, L3, C1, C2, C3, or C4
  17. (for LPT2: or 3, or COM1: to COM4:).  The /L switch with a value of 1 for n is
  18. used for the older LaserJet or LaserJet+ (or compatibles), whose envelopes feed
  19. at the bottom of a landscape page.
  20.  
  21.     The default Alt-E hotkey initiates the defining/printing process.  The
  22. cursor keys are used to position the cursor on the upper-left corner of the
  23. name/address to be printed, and pressing Enter anchors it.  The cursor keys are
  24. then used to define (highlight) the recipient's address field, which may be up
  25. to six lines deep and any displayable number of characters in length.  Pressing
  26. Enter then presents a choice between envelope sizes (F1 for small envelopes, F2
  27. for large, No. 10 size).  F3 toggles a selection highlight for printing or not
  28. printing a return address.  Pressing Enter then prints the envelope inserted in
  29. the laser printer's manual feed slot.  At any point short of printing, Esc can
  30. be used to exit.
  31.  
  32.     The optional /R command line switch permits storing a return address of
  33. up to three lines of 40 characters.  This address may be stored (and updated) as
  34. a permanent part of ENVELOPE.COM, if desired, or it may be used only during a
  35. single session.  ENVELOPE.COM is normally installed via the user's AUTOEXEC.BAT
  36. file.  If it is the last terminate-stay-resident utility loaded, it can be
  37. uninstalled at the DOS prompt by being invoked with the optional /U switch. 
  38. Instructions for changing the hotkey and other defaults are given in the
  39. original article.
  40.  
  41.     Available for downloading from PC MagNet (see the ENVELOPE by Modem
  42. sidebar), ENVELOPE.COM is already compiled and ready to run.  ENVELOPE.BAS will
  43. automatically create ENVELOPE.COM when run once in BASIC.  To create
  44. ENVELOPE.COM from the ENVELOPE.ASM source code requires use of a macro assembler
  45. (IBM or Microsoft, Version 2 or later) and the following commands:
  46.  
  47.     MASM ENVELOPE;
  48.     LINK ENVELOPE;
  49.     EXE2BIN ENVELOPE ENVELOPE.COM;
  50.