6-22
100 OPEN "COM1:9600,N,8,1" FOR OUTPUT AS #1
110 PRINT #1,"Page Length : 5 line"
120 PRINT #1,"Skip Length : 2 line"
130 PRINT #1,"Right Margin : 17 char"
140 PRINT #1,"Left Margin : 5 char"
150 PRINT #1,CHR$(&H0D);
160 PRINT #1,CHR$(&H1B);"C";CHR$(5);
'Page Length : 5 line
170 PRINT #1,CHR$(&H1B);"N";CHR$(2);
'Skip Length : 2 line
180 PRINT #1,CHR$(&H1B);"Q";CHR$(17);
'Right Margin : 17 char
190 PRINT #1,CHR$(&H1B);"l";CHR$(5);
'Left Margin : 5 char
200 FOR I=&H20 TO &HFE
210 PRINT #1,CHR$(I);
220 NEXT I
230 PRINT #1,CHR$(&H0D);
240 CLOSE #1
250 END
Figure 6-1 Program Sample 1
Figure 6-2 Print Sample 1
Summary of Contents for DPU-S245
Page 1: ...DPU S245 SERIES THERMAL PRINTER TECHNICAL REFERENCE U00117152801 ...
Page 12: ...2 2 Dimensions 83 130 45 1 3 63 5 75 2 9 7 38 Unit mm Figure 2 1 Dimensions Paper Outlet ...
Page 87: ...6 42 Figure 6 10 Print Sample 5 ...
Page 97: ...6 52 Figure 6 12 Print Sample 6 ...
Page 122: ...6 77 Figure 6 24 Print Sample 12 ...
Page 125: ...6 80 Figure 6 28 Print Sample 14 ...