6-62
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-S445 SERIES
Страница 1: ...DPU S445 SERIES THERMAL PRINTER TECHNICAL REFERENCE U00110811309 ...
Страница 90: ...6 43 Figure 6 10 Print Sample 5 ...
Страница 100: ...6 53 Figure 6 12 Print Sample 6 ...
Страница 126: ...6 79 Figure 6 24 Print Sample 12 ...
Страница 128: ...6 81 Figure 6 26 Print Sample 13 ...
Страница 130: ...6 83 Figure 6 28 Print Sample 14 ...
Страница 174: ...A 2 INTERNATIONAL CHARACTER SETS The following codes differ depending on the international character set selected A 3 ...
Страница 176: ...A 4 KANJI QUARTER SIZE CHARACTER SET A 5 ...