6-94
100 OPEN "COM1:9600,N,8,1" AS #1
110 PRINT #1,CHR$(&H12);"v";
120 PRINT #1,"Vp voltage : ";INPUT$(3,#1);" V"
130 PRINT #1,CHR$(&H12);"r";
140 PRINT #1,"Rest Memory : ";INPUT$(6,#1);"H Byte"
150 PRINT #1,CHR$(&H12);"q";
160 PRINT #1,"Extend Check Sum :";INPUT$(4,#1);"H"
170 PRINT #1,CHR$(&H12);"l";
180 PRINT #1,"DIP_SW:";INPUT$(35,#1)
190 PRINT #1,CHR$(&H12);"e1";
200 PRINT "Indicate error when an error occurs."
210 PRINT "When you want to stop program, press Ctrl+Break key."
220 ' LOOP
230 E=ASC(INPUT$(1,#1))
240 IF (E AND 1)<>0 THEN PRINT "Paper empty error!"
250 IF (E AND 2)<>0 THEN PRINT "Head Up error!"
260 IF (E AND 4)<>0 THEN PRINT "Vp voltage error!"
270 IF (E AND 8)<>0 THEN PRINT "Head temperature error!"
280 IF (E AND 16)<>0 THEN PRINT "DIP_SW Setting write error!"
290 GOTO 220
Figure 6-33 Program Sample 17
Figure 6-34 Print Sample 17
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 ...