EasyManua.ls Logo

Oki 182 - Carriage Return and Line Feed

Oki 182
175 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
--------
CHAPTER
3
PROGRAMMING
PROGRAMMING
THE
M1182
For each printing feature explained in this chapter,
we
list three
dif-
ferent forms
of
each code
as
follows:
ESC
1
CHR$(27);CHR$(49)
1 B
31
Standard
Decimal code
Hexadecimal code
abbreviation in
presented in the
used by some
ASCII-used for
format most often
software packages
reference
used. A variation
to
enter
printing
of
the same
commands. A
command
is
variation
of
the same
CHR$(27);"1
II
command
is
CHR$
(&H1
B);
CHR$(&H31 )
CARRIAGE RETURN
AND
LINE
FEED
HexGl(leti
maf
CR
CHR$(13)
00
Carriage return tells the printer to
print
the line
of
data and returns
the
print
head to the left side
of
the page. IBM
PC
adds a line feed
after a carriage return unless 128
is
added to the command. If you
send a CHR$(141), therefore the result
is
a carriage return only.
'HexadeCimal
','
LF
CHR$(10)
OA
VT
CHR$(ll
)
OB
Line feed advances the paper one line; line spacing
is
1/6 inch
unless it
is
reset
using the command on page
47.
45

Related product manuals