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:

100LPRINT CHR$ (27);“E” ;

110LPRINT CHR$ (27);“&dOD” :

120LPRINT “Underlined heading for test print of ASCII 128 130“;

130LPRINT CHR$ (27);“&d@”

140LPRINT CHR$ (27);“&p3x” :

150LPRINT CHR$ (128) ;CHR$ (129);CHR$ (130) ;

160LPRINT CHR$ (12);

170LPRINT 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 font control command to make the current font permanent and then delete all temporary fonts.

.

77

Page 85
Image 85
Star Micronics 4111 manual