6-61
100 OPEN "COM1:9600,N,8,1" AS #1
110 S$=STRING$(20,CHR$(&HFF))+STRING$(6,CHR$(0))+STRING$(20,CHR$(&H55))
120 PRINT #1,CHR$(&H12);"T";CHR$(10);CHR$(20);CHR$(160);CHR$(0);
130 FOR I=1 TO 20 : FOR J=0 TO 7
140 PRINT #1,MID$(S$,I+J,20);
150 NEXT J,I
160 PRINT #1,CHR$(&H12);"S";CHR$(10);CHR$(0);
170 GOSUB 290
180 PRINT #1,CHR$(&H12);"S";CHR$(10);CHR$(50);
190 GOSUB 290
200 PRINT #1,CHR$(&H12);"S";CHR$(10);CHR$(1);
210 PRINT #1," STAMP PRINT"
220 PRINT #1,CHR$(&H12);"W";
230 PRINT #1," STOP STAMP"
240 PRINT #1,CHR$(&H12);"U";CHR$(10);
250 PRINT #1,"STAMP DELETED"
260 PRINT #1,CHR$(&H12);"S";CHR$(10);CHR$(0);
270 PRINT #1,CHR$(&H12);"V"
280 CLOSE #1
290 END
300 ' WELCOME
310 PRINT #1," WELCOME to"
320 PRINT #1,CHR$(&H1B);"w1";CHR$(&HE);" STAMP"
330 PRINT #1,CHR$(&H1B);"w0";CHR$(&HE);" World"
340 PRINT #1,CHR$(&H12);"V";
350 RETURN
Figure 6-15 Program Sample 8
Figure 6-16 Print Sample 8
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 ...