Home » Archimedes archive » Acorn User » AU 1994-09.adf » !StarInfo_Star » Marshall/!Envelope/!Help
Marshall/!Envelope/!Help
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Archimedes archive » Acorn User » AU 1994-09.adf » !StarInfo_Star |
Filename: | Marshall/!Envelope/!Help |
Read OK: | ✔ |
File size: | 0616 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
Envelope - an easier way to address an envelope. ~~~~~~~~~ Operation ~~~~~~~~~~ Simple. Type in the address and click 'Print' on the menu. The program allows drag and drop data exchange and file loading (of filetype 'Text'), so the address can be dragged off the heading of the letter in your word processor or taken out of (or dropped into) an address list. A database of addresses can be compiled using just !Edit. The 'Find Text' command quickly locates a name - no need for complex database software! There are some print control options. Most important - the type of printer you are using, Epson or HP; Line spacing - 4 per inch is about right; Top margin and left margin control the position on the envelope; Bold and/or enlarged print can be used, and the choices can be saved. Control Codes ~~~~~~~~~~~~~~ The down side, and a step backwards I admit, is that the printer control codes are contained in the program. On the other hand you don't have to set up the printer driver page size etc, although you do need a driver loaded. Two sets of control codes are included, Hewlett Packard PCL and Epson. It should not be too difficult to adapt for other printers, since only simple commands are needed. Note the two variations for sending out parameters. HP uses printable characters eg. a parameter of 20 would be sent as "2" then "0" whereas Epson uses numbers in the 0-255 range, so 20 is sent as one byte. The procedure which might need modifying is PROCselect_codes at the end of the !Runimage file. P.E.Marshall 28/2/94
00000000 45 6e 76 65 6c 6f 70 65 20 20 2d 20 61 6e 20 65 |Envelope - an e| 00000010 61 73 69 65 72 20 77 61 79 20 74 6f 20 61 64 64 |asier way to add| 00000020 72 65 73 73 20 61 6e 20 65 6e 76 65 6c 6f 70 65 |ress an envelope| 00000030 2e 0a 7e 7e 7e 7e 7e 7e 7e 7e 7e 0a 0a 0a 4f 70 |..~~~~~~~~~...Op| 00000040 65 72 61 74 69 6f 6e 0a 7e 7e 7e 7e 7e 7e 7e 7e |eration.~~~~~~~~| 00000050 7e 7e 0a 53 69 6d 70 6c 65 2e 20 20 54 79 70 65 |~~.Simple. Type| 00000060 20 69 6e 20 74 68 65 20 61 64 64 72 65 73 73 20 | in the address | 00000070 61 6e 64 20 63 6c 69 63 6b 20 27 50 72 69 6e 74 |and click 'Print| 00000080 27 20 6f 6e 0a 74 68 65 20 6d 65 6e 75 2e 0a 0a |' on.the menu...| 00000090 54 68 65 20 70 72 6f 67 72 61 6d 20 61 6c 6c 6f |The program allo| 000000a0 77 73 20 64 72 61 67 20 61 6e 64 20 64 72 6f 70 |ws drag and drop| 000000b0 20 64 61 74 61 20 65 78 63 68 61 6e 67 65 20 61 | data exchange a| 000000c0 6e 64 20 66 69 6c 65 20 6c 6f 61 64 69 6e 67 0a |nd file loading.| 000000d0 28 6f 66 20 66 69 6c 65 74 79 70 65 20 27 54 65 |(of filetype 'Te| 000000e0 78 74 27 29 2c 20 73 6f 20 74 68 65 20 61 64 64 |xt'), so the add| 000000f0 72 65 73 73 20 63 61 6e 20 62 65 20 64 72 61 67 |ress can be drag| 00000100 67 65 64 20 6f 66 66 20 74 68 65 0a 68 65 61 64 |ged off the.head| 00000110 69 6e 67 20 6f 66 20 74 68 65 20 6c 65 74 74 65 |ing of the lette| 00000120 72 20 69 6e 20 79 6f 75 72 20 77 6f 72 64 20 70 |r in your word p| 00000130 72 6f 63 65 73 73 6f 72 20 20 6f 72 20 74 61 6b |rocessor or tak| 00000140 65 6e 20 6f 75 74 20 6f 66 0a 28 6f 72 20 64 72 |en out of.(or dr| 00000150 6f 70 70 65 64 20 69 6e 74 6f 29 20 61 6e 20 61 |opped into) an a| 00000160 64 64 72 65 73 73 20 6c 69 73 74 2e 20 20 41 20 |ddress list. A | 00000170 64 61 74 61 62 61 73 65 20 6f 66 20 61 64 64 72 |database of addr| 00000180 65 73 73 65 73 0a 63 61 6e 20 62 65 20 63 6f 6d |esses.can be com| 00000190 70 69 6c 65 64 20 75 73 69 6e 67 20 6a 75 73 74 |piled using just| 000001a0 20 21 45 64 69 74 2e 20 54 68 65 20 27 46 69 6e | !Edit. The 'Fin| 000001b0 64 20 54 65 78 74 27 20 63 6f 6d 6d 61 6e 64 0a |d Text' command.| 000001c0 71 75 69 63 6b 6c 79 20 6c 6f 63 61 74 65 73 20 |quickly locates | 000001d0 61 20 6e 61 6d 65 20 2d 20 6e 6f 20 6e 65 65 64 |a name - no need| 000001e0 20 66 6f 72 20 63 6f 6d 70 6c 65 78 20 64 61 74 | for complex dat| 000001f0 61 62 61 73 65 20 73 6f 66 74 77 61 72 65 21 0a |abase software!.| 00000200 0a 54 68 65 72 65 20 61 72 65 20 73 6f 6d 65 20 |.There are some | 00000210 70 72 69 6e 74 20 63 6f 6e 74 72 6f 6c 20 6f 70 |print control op| 00000220 74 69 6f 6e 73 2e 20 4d 6f 73 74 20 69 6d 70 6f |tions. Most impo| 00000230 72 74 61 6e 74 20 2d 20 74 68 65 20 74 79 70 65 |rtant - the type| 00000240 0a 6f 66 20 70 72 69 6e 74 65 72 20 79 6f 75 20 |.of printer you | 00000250 61 72 65 20 75 73 69 6e 67 2c 20 45 70 73 6f 6e |are using, Epson| 00000260 20 6f 72 20 48 50 3b 20 4c 69 6e 65 20 73 70 61 | or HP; Line spa| 00000270 63 69 6e 67 20 2d 20 34 20 70 65 72 20 69 6e 63 |cing - 4 per inc| 00000280 68 0a 69 73 20 61 62 6f 75 74 20 72 69 67 68 74 |h.is about right| 00000290 3b 20 54 6f 70 20 6d 61 72 67 69 6e 20 61 6e 64 |; Top margin and| 000002a0 20 6c 65 66 74 20 6d 61 72 67 69 6e 20 63 6f 6e | left margin con| 000002b0 74 72 6f 6c 20 74 68 65 20 70 6f 73 69 74 69 6f |trol the positio| 000002c0 6e 0a 6f 6e 20 74 68 65 20 65 6e 76 65 6c 6f 70 |n.on the envelop| 000002d0 65 3b 20 42 6f 6c 64 20 61 6e 64 2f 6f 72 20 65 |e; Bold and/or e| 000002e0 6e 6c 61 72 67 65 64 20 70 72 69 6e 74 20 63 61 |nlarged print ca| 000002f0 6e 20 62 65 20 75 73 65 64 2c 20 61 6e 64 20 74 |n be used, and t| 00000300 68 65 0a 63 68 6f 69 63 65 73 20 63 61 6e 20 62 |he.choices can b| 00000310 65 20 73 61 76 65 64 2e 20 0a 0a 43 6f 6e 74 72 |e saved. ..Contr| 00000320 6f 6c 20 43 6f 64 65 73 0a 7e 7e 7e 7e 7e 7e 7e |ol Codes.~~~~~~~| 00000330 7e 7e 7e 7e 7e 7e 7e 0a 54 68 65 20 64 6f 77 6e |~~~~~~~.The down| 00000340 20 73 69 64 65 2c 20 61 6e 64 20 61 20 73 74 65 | side, and a ste| 00000350 70 20 62 61 63 6b 77 61 72 64 73 20 49 20 61 64 |p backwards I ad| 00000360 6d 69 74 2c 20 69 73 20 74 68 61 74 20 74 68 65 |mit, is that the| 00000370 20 70 72 69 6e 74 65 72 0a 63 6f 6e 74 72 6f 6c | printer.control| 00000380 20 63 6f 64 65 73 20 61 72 65 20 63 6f 6e 74 61 | codes are conta| 00000390 69 6e 65 64 20 69 6e 20 74 68 65 20 70 72 6f 67 |ined in the prog| 000003a0 72 61 6d 2e 20 4f 6e 20 74 68 65 20 6f 74 68 65 |ram. On the othe| 000003b0 72 20 68 61 6e 64 20 0a 79 6f 75 20 64 6f 6e 27 |r hand .you don'| 000003c0 74 20 68 61 76 65 20 74 6f 20 73 65 74 20 75 70 |t have to set up| 000003d0 20 74 68 65 20 70 72 69 6e 74 65 72 20 64 72 69 | the printer dri| 000003e0 76 65 72 20 70 61 67 65 20 73 69 7a 65 20 65 74 |ver page size et| 000003f0 63 2c 20 0a 61 6c 74 68 6f 75 67 68 20 79 6f 75 |c, .although you| 00000400 20 64 6f 20 6e 65 65 64 20 61 20 64 72 69 76 65 | do need a drive| 00000410 72 20 6c 6f 61 64 65 64 2e 20 0a 0a 54 77 6f 20 |r loaded. ..Two | 00000420 73 65 74 73 20 6f 66 20 63 6f 6e 74 72 6f 6c 20 |sets of control | 00000430 63 6f 64 65 73 20 61 72 65 20 69 6e 63 6c 75 64 |codes are includ| 00000440 65 64 2c 20 48 65 77 6c 65 74 74 20 50 61 63 6b |ed, Hewlett Pack| 00000450 61 72 64 20 50 43 4c 20 61 6e 64 0a 45 70 73 6f |ard PCL and.Epso| 00000460 6e 2e 20 20 49 74 20 73 68 6f 75 6c 64 20 6e 6f |n. It should no| 00000470 74 20 62 65 20 74 6f 6f 20 64 69 66 66 69 63 75 |t be too difficu| 00000480 6c 74 20 74 6f 20 61 64 61 70 74 20 66 6f 72 20 |lt to adapt for | 00000490 6f 74 68 65 72 0a 70 72 69 6e 74 65 72 73 2c 20 |other.printers, | 000004a0 73 69 6e 63 65 20 6f 6e 6c 79 20 73 69 6d 70 6c |since only simpl| 000004b0 65 20 63 6f 6d 6d 61 6e 64 73 20 61 72 65 20 6e |e commands are n| 000004c0 65 65 64 65 64 2e 20 4e 6f 74 65 20 74 68 65 20 |eeded. Note the | 000004d0 74 77 6f 20 0a 76 61 72 69 61 74 69 6f 6e 73 20 |two .variations | 000004e0 66 6f 72 20 73 65 6e 64 69 6e 67 20 6f 75 74 20 |for sending out | 000004f0 70 61 72 61 6d 65 74 65 72 73 2e 20 48 50 20 75 |parameters. HP u| 00000500 73 65 73 20 70 72 69 6e 74 61 62 6c 65 20 0a 63 |ses printable .c| 00000510 68 61 72 61 63 74 65 72 73 20 65 67 2e 20 61 20 |haracters eg. a | 00000520 70 61 72 61 6d 65 74 65 72 20 6f 66 20 32 30 20 |parameter of 20 | 00000530 77 6f 75 6c 64 20 62 65 20 73 65 6e 74 20 61 73 |would be sent as| 00000540 20 22 32 22 20 74 68 65 6e 20 22 30 22 0a 77 68 | "2" then "0".wh| 00000550 65 72 65 61 73 20 45 70 73 6f 6e 20 75 73 65 73 |ereas Epson uses| 00000560 20 6e 75 6d 62 65 72 73 20 69 6e 20 74 68 65 20 | numbers in the | 00000570 30 2d 32 35 35 20 72 61 6e 67 65 2c 20 73 6f 20 |0-255 range, so | 00000580 32 30 20 69 73 20 73 65 6e 74 20 61 73 0a 6f 6e |20 is sent as.on| 00000590 65 20 62 79 74 65 2e 20 54 68 65 20 70 72 6f 63 |e byte. The proc| 000005a0 65 64 75 72 65 20 77 68 69 63 68 20 6d 69 67 68 |edure which migh| 000005b0 74 20 6e 65 65 64 20 6d 6f 64 69 66 79 69 6e 67 |t need modifying| 000005c0 20 69 73 0a 50 52 4f 43 73 65 6c 65 63 74 5f 63 | is.PROCselect_c| 000005d0 6f 64 65 73 20 61 74 20 74 68 65 20 65 6e 64 20 |odes at the end | 000005e0 6f 66 20 74 68 65 20 21 52 75 6e 69 6d 61 67 65 |of the !Runimage| 000005f0 20 66 69 6c 65 2e 20 0a 0a 0a 0a 50 2e 45 2e 4d | file. ....P.E.M| 00000600 61 72 73 68 61 6c 6c 20 20 32 38 2f 32 2f 39 34 |arshall 28/2/94| 00000610 0a 0a 20 0a 0a 20 |.. .. | 00000616