Star Micronics 4111 Printer User Manual


 
Assuming you like what you see printed from those ASCII positions, you
then want to make that current font permanent. Finally, you also want to
dump all the temporary fonts from printer memory to make room for some
graphics you’ll be printing.
Let’s start with a reset and an underlined heading for your test print:
100 LPRINT CHR$ (27);“E” ;
110 LPRINT CHR$ (27);“&dOD” :
120 LPRINT “Underlined heading for test print
of ASCII 128 130“;
130 LPRINT CHR$ (27);“&d@”
140 LPRINT CHR$ (27);“&p3x” :
150 LPRINT CHR$ (128) ;CHR$ (129);CHR$ (130);
160 LPRINT CHR$ (12);
170 LPRINT CHR$ (27):“*C5flF”;
Line 100isjust the <ESC> E reset command. Lines 110and 130turn on and
off the underline feature.
Line 140 turns on transparent printing, which forces printing even for
normally unprintable control codes. The three bytes you want to print are in
line 150.To see what’s there, you send a form feed command in line 160.
And finally, line 170uses the fontcontrolcommand to make the current font
permanent and then delete all temporary fonts.
.
77