6-97
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-S445 SERIES
Page 1: ...DPU S445 SERIES THERMAL PRINTER TECHNICAL REFERENCE U00110811309 ...
Page 90: ...6 43 Figure 6 10 Print Sample 5 ...
Page 100: ...6 53 Figure 6 12 Print Sample 6 ...
Page 126: ...6 79 Figure 6 24 Print Sample 12 ...
Page 128: ...6 81 Figure 6 26 Print Sample 13 ...
Page 130: ...6 83 Figure 6 28 Print Sample 14 ...