6-85
100 OPEN "COM1:9600,N,8,1" FOR OUTPUT AS #1
110 'Format Set
120 PRINT #1,CHR$(&H12);"E0";CHR$(0);CHR$(7);CHR$(0);
'Format No.0
130 PRINT #1,"ACF";CHR$(&HFF);CHR$(&HFF);"P";CHR$(2);
140 FOR I=1 TO 3
150 PRINT #1,CHR$(&H12);"E0";CHR$(I);CHR$(29);CHR$(0); 'Format
No.1-3
160 PRINT #1,"BCL";CHR$(0);CHR$(0);CHR$(1);CHR$(0);
170 PRINT #1,"L";CHR$(79);CHR$(0);CHR$(80);CHR$(0);
180 PRINT #1,"L";CHR$(159);CHR$(0);CHR$(160);CHR$(0);
190 PRINT #1,"L";CHR$(383);CHR$(0);CHR$(384);CHR$(0);
200 PRINT #1,"$";CHR$((I-1)*80);CHR$(0);
210 PRINT #1,"S";CHR$(I-1);"P";CHR$(0);
220 NEXT I
230 'Parameter Data Set
240 PRINT #1,CHR$(&H12);"E1";CHR$(0);CHR$(14);CHR$(0); 'Parameter
No.0
250 PRINT #1,CHR$(&H12);"F0";" Parameter0";
260 PRINT #1,CHR$(&H12);"E1";CHR$(1);CHR$(17);CHR$(0); 'Parameter
No.1
270 PRINT #1,CHR$(&H12);"F1";CHR$(&H1B);"w1";" Parameter1";
280 PRINT #1,CHR$(&H12);"E1";CHR$(2);CHR$(22);CHR$(0); 'Parameter
No.2
290 PRINT #1,CHR$(&H12);"F0";" ";CHR$(&H1C);"&";
300 PRINT #1,CHR$(&H44);CHR$(&H6A);CHR$(&H37);CHR$(&H3F);
310 PRINT #1,CHR$(&H25);CHR$(&H51);CHR$(&H25);CHR$(&H69);
320 PRINT #1,CHR$(&H25);CHR$(&H61);CHR$(&H21);CHR$(&H3C);
330 PRINT #1,CHR$(&H25);CHR$(&H3F);CHR$(&H23);CHR$(&H33);
340 'Format Execute
350 PRINT #1,CHR$(&H12);"E2";CHR$(0);
'Format No.0 Execute
360 PRINT #1,CHR$(&H12);"E2";CHR$(1);
'Format No.1 Execute
370 PRINT #1,CHR$(&H12);"E2";CHR$(0);
'Format No.0 Execute
380 PRINT #1,CHR$(&H12);"E2";CHR$(2);
'Format No.2 Execute
390 PRINT #1,CHR$(&H12);"E2";CHR$(0);
'Format No.0 Execute
400 PRINT #1,CHR$(&H12);"E2";CHR$(3);
'Format No.3 Execute
410 PRINT #1,CHR$(&H12);"E2";CHR$(0);
'Format No.0 Execute
420 CLOSE #1
430 END
Figure 6-29 Program Sample 15
Figure 6-30 Print Sample 15
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 ...