AERCO PRINTER I/F UTILITY PROGRAM
This is a BASIC Utility Program which is to be used with the AERCO PRINTER I/F and the MTERM SMART II MODEM PROGRAM. This program is to be used with TEXT data only, with CON:NONE and C/R SUPPRESSED:OFF. The program will allow SELECTED text which was received in the BUFFER by MTERM to be printed to an 80 column printer with the AERCO PRINTER I/F.
To install the program, ENTER the BASIC lines 1 to 360. The 1 REM must be ENTERed as shown as it will later be loaded with machine code to drive the printer. Some variables will be altered by any additions or deletions to the BASIC program and may cause unpridictable results. After the BASIC lines 1 to 360 are entered, enter “RUN 300” – this will load the print driver code into the 1 REM. “LIST” will produce an ERROR K, so use “LIST 10” to view the BASIC program. Next ENTER “DELETE 300”, to remove lines no longer required. ENTER “RAND USR 26802” to store the size of the program in 1 REM. Now ENTER “RUN”-the MAIN MENU will appear. ENTER “s” to SAVE to tape. You must provide a name when prompted, I prefer “MABU” (Mterm Aerco Buffer Utility) When the SAVE is complete you are now ready to use the program.
To use the program you MUST FIRST load your MTERM SMART II CODE. Next load “MABU”. Note that “MABU” MUST be loaded AFTER the MTERM SMART II. When LOADed the MAIN MENU will displayed. Enter “t” for MTERM and access your service. OPEN the BUFFER (CON:NONE and C/R must NOT be suppressed). Proceed normally and capture your text data in the buffer. At the completion of data, CLOSE the BUFFER and DISCONNECT the service. Exit to BASIC and enter “RUN”. You are now using the BUFFER UTILITY PROGRAM. The MAIN MENU will be displayed. Just “tap” ENTER to begin scrolling the BUFFER data. The program will display a number each time a C/R character code is detected. Note these numbers where you wish to start and stop the printing. When the end of the buffer is reached the program will request the START number and END number. The SELECTED text data will then be printed. If the buffer listing produces an ERROR because a character cannot be displayed use CONT to continue the listing. Printing may be terminated by pressing the CAPS SHIFT plus BREAK key.
If you wish to SAVE the TEXT and the program on a tape for later printing enter “s” from the MAIN MENU and provide a name when prompted. The TEXT and program may later be loaded for printing at a later time by ENTERing LOAD “”. The scroll and print options will work however the “t” option will not run MTERM unless the code is loaded as previously mentioned. The MTERM code is not necessary to print the data. Do not NEW this program and attempt to access MTERM without reloading as the buffer variables have been altered and your data will be lost.
If your printer does not space the paper up while printing then you must change the printer dip switch settings. This program Will send C/R ONLY to the printer. Consult your printer manual and set the printer for C/R only or automatic line feed.
David Schoenwetter
SINCUS member
1 REM *Sincus Buffer Utility*
12345678911234567892123456789312
34567894123456789512345678961234
5678971234567898
5 REM Dave Schoenwetter
[address omitted]
Endwell, NY 13760
[phone number omitted]
10 INPUT "ENTER 'b' to BYPASS
BUFF. LIST"'"'t' for MTERM or 's
' to SAVE "; LINE a$
14 IF a$="b" THEN GO TO 100
15 IF a$="s" THEN GO TO 200
16 IF a$="t" THEN PRINT USR 54
016
20 LET s=PEEK 26816+256*PEEK 2
6817
30 PRINT INVERSE 1;s;" START
OF BUFFER."
40 LET t=PEEK 23627-1+256*PEEK
23628: PRINT INVERSE 1't;" EN
D of BUFFER "
50 FOR f=s TO t
52 PRINT CHR$ PEEK f;
54 IF PEEK f=13 THEN PRINT , I
NVERSE 1;f
56 NEXT f
58 PRINT INVERSE 1't;" END OF
BUFFER "
100 INPUT "ENTER START LINE # "
;s: PRINT "START AT ";s
110 LET h=INT (s/256): POKE 267
40,h
120 LET l=INT s-h*256: POKE 267
39,l
150 INPUT "ENTER END LINE # ";t
: PRINT "END AT ";t
160 LET h=INT (t/256): POKE 267
43,h
170 LET l=INT t-h*256: POKE 267
42,l
180 PRINT USR 26738
190 GO TO 10
200 INPUT "ENTER NAME to SAVE D
ATA & PGM. "; LINE a$
205 SAVE a$ LINE 210: STOP
210 POKE 61166,96
220 RANDOMIZE USR 26808: RUN
300 RESTORE 340
310 FOR n=26738 TO 26814
320 READ x: POKE n,x
330 NEXT n
340 DATA 33,0,0,1,0,0,3,125,185
,32,4,124,184,40,34,62,127,219,2
54,31,48,27,219,127,230,16,32,24
3,126,254,10,32,2,62,0,254,12,32
,2,62,0,211,127,0,219,127,35,24,
214,6,0,61,32,253,16,251,62,13,2
11,127,0,219,127,201,42,75,92,34
,192,104,33,192,104,34,19,211,20
1
360 STOP
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.