![SPRT SP-RMDIIID Скачать руководство пользователя страница 33](http://html1.mh-extra.com/html/sprt/sp-rmdiiid/sp-rmdiiid_user-manual_1352057033.webp)
31
The BASIC programs for this example are as below:
LPRINT
CHR$ (27); “W”; CHR$ (4);
’Enlarge the width and height 4 times
LPRINT
CHR$ (27); “K”; CHR$ (15); CHR$ (0);
’ESC K command
LPRINT
CHR$ (&H7C); CHR$ (&H44); CHR$ (&H44); CHR$ (&HFF);
LPRINT
CHR$ (&H44); CHR$ (&H44); CHR$ (&H7C); CHR$ (&H0);
LPRINT
CHR$ (&H41); CHR$ (&H62); CHR$ (&H54); CHR$ (&HC8);
LPRINT
CHR$ (&H54); CHR$ (&H62); CHR$ (&H41);
LPRINT CHR$(10); CHR$ (&H13);
‘enter to print text
The print result is as following:
ESC ’
Print Curve I
Format: ASCII:
ESC ‘
mL mH n1L
n1H
n2L n2H……nIL nIH CR
Decimal:
27 39
mL mH n1L
n1H n2L n2H……nIL nIh 13
Hexadecimal:
1B
27 mL
mH n1L
n1H n2L
n2H……nIL nIh OD
Explanation:
This command is used to print curve along the paper-feeding direction. The value of m
is the number of curves to be printed, m=0~255.
There are m dots of curve in one horizontal line. n1L n1H n2L n2H……nIL nIH
presents the positions of these m curves. The numbers of nIL or nIH should equal to m.
Each dot should be within the largest dots numbers of printer. The last CR (“enter”) is
used to print out this dot line. The whole m curves are printed out through each dot line
by n1L n1H n2L n2H……nIL nIH data.
Remark: The dot whose position is beyond the paper width won’t be printed out. This
command is valid no matter there is OD or not.
ESC ,
Print Curve II ( supplement dots automatically to be full curve)
Format: ASCII:
ESC
, m n1L
n1H n2L n2H……nIL nIH CR
Decimal:
27
44
m n1L
n1H n2L n2H……nIL nIh 13
Hexadecimal: 1B
2C
m n1L
n1H n2L n2H……nIL nIh OD
Explanation:
The using explanation is same as the command for Printing Curve I.
Содержание SP-RMDIIID
Страница 7: ...5 2 2 Outer dimension 2 2 SP RMDIIID model picture...
Страница 41: ...39 n 3 Error status n 4 paper feeding status...
Страница 48: ...46 Characters Set 2...
Страница 49: ...47...