home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / CPM / DATABASE / ADDRES11.LBR / ADDR.DZC / ADDR.DOC
Text File  |  2000-06-30  |  4KB  |  100 lines

  1.  
  2. ADR.DOC          Address Reader          1-10-90
  3.  
  4. Program to print address onto an envelop.  Opens the file where 
  5. letter is stored, extracts address, and sends to printer.
  6.  
  7. Options allows various styles of return address.
  8. Printer escape codes may be customized by user.
  9.  
  10. The letter must be written with the mailing address flush left.
  11. Nothing else may be flush left prior to address.  Address must 
  12. end with a carriage return.  Wordstar dot commands are ignored.
  13.  
  14. WHY BOTHER?
  15. Blame the Hewlett Packard DESKJET+.   One of its many many good 
  16. features is the availability to load and print letter envelopes.
  17. For the first time (for me) printing addresses on an envelope is
  18. a pleasure and a delight.  Together with the DESKJET Times Roman 
  19. font option, these addresses can really look extraordinarily nice.
  20. This program makes printing these nice envelopes a little easier.
  21.  
  22. USER CUSTOMIZATION.
  23. The program is useable for any printer, with or without escape codes.
  24. Start by putting your return address (or addresses) in the program.
  25. The default return address goes into location "1".  Printer escape 
  26. codes may be added as desired.   The "S" or "Simple" mode uses no 
  27. escape codes.  The "E" or "Exotic" mode uses "Escape" codes at 
  28. locations 0130h and 0160h.  The program as released uses simple 
  29. mode with no escape codes, but the DeskJet codes are available 
  30. for use by specifying "E" mode, 0 indent, 0 roll-down.
  31.  
  32. Addresses available to modify are shown below.
  33.  
  34.  
  35.  0100 C38704        JP    STRT
  36.  0103 20414452  AAA:    DB    ' ADR  v 1.1   1-10-90 ',0ffh
  37.  011A 53        APT:    DB    'S'    ; printer type S (simple)
  38.  011B 22        API:    DB    34    ; printer indent for mailing addr (34 spaces) 
  39.  011C 05        APR:    DB    5    ; printer roll-down for mailing addr (5 lines)
  40.  011D 01        ARTYP:    DB    1    ; start-up default for retn addr
  41.  011E 03        ARNUM:    DB    3    ; total retn addresses avail for use
  42.  011F 00        ARSEL:    DB    0    ; which addr selected (prog use only)
  43.                 
  44.  0130           APR4D:        ; PRINTER ESCAPE CODES FOR RETURN ADDRESS
  45.  0130 1B287331      DB    1BH,'(s1p5T'    ; proportional print, Times Roman
  46.  0137 1B287331      DB    1BH,'(s12V'    ; 12 point char height
  47.  013D 1B287330      DB    1BH,'(s0B'    ; normal (not bold)
  48.  0142 1B266C35      DB    1BH,'&l5D'    ; 5 lines/inch
  49.  0147 1B266130      DB    1BH,'&a0L'    ; 0 left margin
  50.  014C 1B266C30      DB    1BH,'&l0E'    ; 0 top margin
  51.  0151 1B26612D      DB    1BH,'&a-1R'    ; move row UP 1 line
  52.  0157 0D            DB    0DH        ; CR after new left margin
  53.  0158 00            DB    0        ; must end in "0" 
  54.  0159               DS    7        ;     extra space
  55.                         
  56.  0160           APR6D:        ; PRINTER ESCAPE CODES FOR MAIN MAILING ADDRESS
  57.  0160 1B287331      DB    1BH,'(s14V'    ; 14 point char height
  58.  0166 1B266C34      DB    1BH,'&l4D'    ; 4 lines/inch
  59.  016B 1B266136      DB    1BH,'&a66L'    ; left margin 66
  60.  0171 1B26612B      DB    1BH,'&a+5R'    ; move row down 5 lines
  61.  0177 1B287333      DB    1BH,'(s3B'    ; bold
  62.  017C 00            DB    0              ; must end in "0"
  63.  017D               DS    19        ; extra storage space
  64.                 
  65.  0190 52657475  AR1:    DB    'Return addr - name ',0dh,0ah
  66.  01A5 52657475      DB    'Return addr - addr ',0dh,0ah
  67.  01BA 52657475      DB    'Return addr - city ',0dh,0ah
  68.  01CF 00            DB    0        ; marks end of data
  69.  01D0               DS    16        ; extra storage space
  70.                 
  71.  01E0 206E616D  AR2:    DB    ' name  -  style 2  ',0dh,0ah
  72.  01F5 20616464      DB    ' addr  -  style 2  ',0dh,0ah
  73.  020A 20636974      DB    ' city  -  style 2  ',0dh,0ah
  74.  021F 00            DB    0
  75.  0220               DS    16
  76.                 
  77.  0230 00        AR3:    DB    0
  78.  0231                   DS      79
  79.  0280 00        AR4:    DB    0
  80.  0281               DS    79
  81.  02D0 00        AR5:    DB    0
  82.  02D1               DS    79
  83.  
  84. RESTRICTIONS:
  85. -  User numbers are not supported.  The program will open a filename
  86.    in the form  B:XYZ  but not the form   B3:XYZ.
  87. -  When saving new info to disk, the data always goes to the current
  88.    logged disk, with the current filename (taken from the CCP).
  89. -  A maximum of 5 storage locations are reserved for return address
  90.    style variations.  For a very, very long return address, the only
  91.    method is to use two of these locations.  Just end in "0".
  92. -  If using escape codes ("E" mode) the first character (at locations
  93.    0130h and 0160h must be the escape character (1Bh).
  94.  
  95.  
  96. Send bug reports and comments to:
  97.     Russell A. Gaspari
  98.     6656 W. 87th Place
  99.     Los Angeles  90045
  100.