6-79
100 OPEN “COM1:9600,N,8,1” FOR OUTPUT AS #1
110 FOR I=2 TO 3
120 READ MODE$,SERVICE$,COUNTRY$,POSTAL$
130 PRINT #1, "*****MaxiCode ";MODE$;"*****"
140 PRINT #1, CHR$(&H1D);"P";CHR$(I MOD 2); 'Barcode print position setting
150 PRINT #1, CHR$(&H1D);"p";CHR$(3); 'Print of MaxiCode (modes 2 & 3)
160 PRINT #1, CHR$(I);SERVICE$;COUNTRY$;POSTAL$;CHR$(50);
170 FOR J=1 TO 5
180 READ DAT$
190 PRINT #1, DAT$;
200 NEXT J
210 PRINT #1, CHR$(&H0A);
220 NEXT I
230 FOR I=4 TO 5
240 READ MODE$
250 PRINT #1, "*****MaxiCode ";MODE$;"*****"
260 PRINT #1, CHR$(&H1D);"P";CHR$((I-2) MOD 3); 'Barcode print position setting
270 PRINT #1, CHR$(&H1D);"p";CHR$(3); 'Print of MaxiCode (modes 4 & 5)
280 PRINT #1, CHR$(I);CHR$(50);
290 FOR J=1 TO 5
300 READ DAT$
310 PRINT #1, DAT$;
320 NEXT J
330 PRINT #1, CHR$(&H0A);
340 NEXT I
350 CLOSE #1
360 END
370 ' 2 Dimensional Code Data
380 DATA "Mode2", "123", "456", "7890123**" '"*" is used for matching numbers of columns.
390 DATA "MaxiCode*2", "0123456789", "ABCDEFGHIJ", "KLMNOPQRST", "abcdefghij"
400 DATA "Mode3", "321", "654", "ABC987"
410 DATA "MaxiCode*3", "0123456789", "ABCDEFGHIJ", "KLMNOPQRST", "abcdefghij"
420 DATA "Mode4"
430 DATA "MaxiCode*4", "0123456789", "ABCDEFGHIJ", "KLMNOPQRST", "abcdefghij"
440 DATA "Mode5"
450 DATA "MaxiCode*5", "0123456789", "ABCDEFGHIJ", "KLMNOPQRST", "abcdefghij"
Figure 6-27 Program Sample 14
Содержание DPU-S245
Страница 1: ...DPU S245 SERIES THERMAL PRINTER TECHNICAL REFERENCE U00117152801 ...
Страница 12: ...2 2 Dimensions 83 130 45 1 3 63 5 75 2 9 7 38 Unit mm Figure 2 1 Dimensions Paper Outlet ...
Страница 87: ...6 42 Figure 6 10 Print Sample 5 ...
Страница 97: ...6 52 Figure 6 12 Print Sample 6 ...
Страница 122: ...6 77 Figure 6 24 Print Sample 12 ...
Страница 125: ...6 80 Figure 6 28 Print Sample 14 ...
Страница 168: ...A 3 A 2 INTERNATIONAL CHARACTER SETS The following codes differ depending on the international character set selected ...
Страница 170: ...A 5 A 4 KANJI QUARTER SIZE CHARACTER SET ...