Star Micronics 4111 Printer User Manual


 
7
Delete temporary macros. This option also deletes temporary
automatic macros.
8
Delete last specified macro.
9
Make last specified macro temporary.
10 Make last specified macro permanen[.
4 E M
The following program loads and runs a macro. The Imacromoves an inch
and a half right and down three inches from the top left corner of the page,
where it prints a 25 percent gray-scale bar. It then ejects the paper.
100
LPRINT
CHR(2 ):“&f6
110
LPR.
INCHR(2 );&1Y“
120
LPRINT
CHR(2 );“& OX
130
LPRINT
CHR(2 );“*p4Oxl 200Y” ;
140
LPRINT
CHR(2 );“*C 180h7200V” :
150
LPRINT
CHR(2 );“
*C25
;
160
LPRINT
CHR(2 );“*c2;
110
LPRINT
CHR$(12)
180
LPRINT
CHR(27 ) ; “&f 1X“ ;
190
LPRINT
CHR(2 );“&f2;
200
END
Line 100”clears any existing macros. then line I I()spccif’icsthat this will be
macro ID number 1. Line 120starts downloading the macro.
Line 130movestheprintpositionto a spot450 dotsrightand 1200dots”down
from the top left corner of the page.
Lines 140through 160selectthe 180-dotdeep and 7200-dotwide pattern and
print it. Line 170does the form feed that forces the actual printing. Line 180
ends the downloading process.
At the two Iinc we select our macro and actually run it.
95