6-61
6.5.17 Other Commands
CAN
Cancel Print Data in Buffer
Code 18H
Function Clears the data in the line buffer.
The next print starting position is the beginning of the line (left margin).
100 OPEN "COM1:9600,N,8,1" FOR OUTPUT AS #1
110 PRINT #1,CHR$(&H1B);"Q";CHR$(40);
'Right Margin 40 char
120 PRINT #1,CHR$(&H1B);"l";CHR$(10);
'Left Margin 10 char
130 PRINT #1,CHR$(&H12);"F0";
'16 dots Font
140 PRINT #1,CHR$(&H1B);"W1";
'Double Width
150 PRINT #1,CHR$(&H1B);"w1";
'Double Height
160 PRINT #1,CHR$(&H1B);" ";CHR$(10);
'Char Space
170 PRINT #1,CHR$(&H12);"Y1";
'Right Rotation
180 PRINT #1,"RESET COMMAND TEST"
190 PRINT #1,"ABCDEFG";
200 PRINT #1,CHR$(&H1B);"@";
'Reset!
210 FOR I=0 TO 999:NEXT I
220 PRINT #1,"RESET COMMAND TEST"
230 PRINT #1,"ABCDEFG";
240 PRINT #1,CHR$(&H18);"CANCELED"
250 CLOSE #1
260 END
Figure 6-17 Program Sample 9
Figure 6-18 Print Sample 9
Содержание DPU-S245
Страница 1: ...DPU S245 SERIES THERMAL PRINTER TECHNICAL REFERENCE U00117152801 ...
Страница 12: ...2 2 Dimensions 83 130 45 1 3 63 5 75 2 9 7 38 Unit mm Figure 2 1 Dimensions Paper Outlet ...
Страница 87: ...6 42 Figure 6 10 Print Sample 5 ...
Страница 97: ...6 52 Figure 6 12 Print Sample 6 ...
Страница 122: ...6 77 Figure 6 24 Print Sample 12 ...
Страница 125: ...6 80 Figure 6 28 Print Sample 14 ...
Страница 168: ...A 3 A 2 INTERNATIONAL CHARACTER SETS The following codes differ depending on the international character set selected ...
Страница 170: ...A 5 A 4 KANJI QUARTER SIZE CHARACTER SET ...