Star Micronics NB24-10/15 User Manual page 99

Signature series
Table of Contents

Advertisement

90
The following program shows how these codes works.
127);
lo
LPRINT "BACKSPACE DOES NOT";
20 LPRINT CHR$(8);CHR$(8);CHR$(8);
30 LPRINT u=== WORK"
40 LPRINT
"DELETE DOES NOT";
50 LPRINT CJJR$(127);CHR$(127);CHRs(
60 LPRINT
"WORK"
70 LPRINT
"CANCEL LINE";
80 LPRINT CHRS(24);
90 LPRINT
"DOES NOT WORK"
Here is what this program will print:
BACKSPACE
DOES
WQ?
WORK
DELETE
DOES
WORK
DOES
NOT
WORK
The backspace codes in line 20 move the print head a total of
three spaces to the left so that the first part of line 30 will over-
print the word "NOT". The delete codes in line 50 "erase" the
three letters in the word "NOT" so that it doesn't even print.
In line 80, CHR$(24) deletes
the words
in line 70. The
semicolon at the end of line 70 prevents a line feed from causing
that line to print before the printer receives the CHR$(24) code.
The text in line 90 prints as it normally would because it is after
CHR$(24).
n Printing zeroes
There are two types of zeroes. There is the one we use every
day - 0 - and this is what your printer will print as its default.
The other type is used almost exclusively
in computers
and
engineering.
It is called the "slash zero" and is written like this
-
8. The
line through
the
number
prevents
you from
misreading
it as the letter "0".
n Immediate-print
This printer can print at the quick rate of 180 characters
per
second with draft characters.
But it will also print more slowly

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nb24-10Nb24-15

Table of Contents