Programming Manual 4. Bar Code Specifications
SATO RISC Printers 165
Multiple Data
PRINT #1, E$; "H050"; E$; "V910"; E$; "XSMULTIPLE DATA";
PRINT #1, E$; "H050"; E$; "V950"; E$; "2D30,H,06,0,0";
PRINT #1, E$; "DS1,"; DATA1$;
PRINT #1, E$; "DS2,"; DATA2$;
PRINT #1, E$; "DN0033,"; DATA3$;
Connection Mode
DATA$ = DATA1$ + DATA2$
X = LEN(DATA$)
XORDATA = ASC(MID$(DATA$, 1, 1))
FORi=2TOX
XORDATA = XORDATA XOR ASC(MID$(DATA$, i, 1))
NEXT i
XORDATA$ = HEX$(XORDATA)
Manual Mode
PRINT #1, E$; "H050"; E$; "V1410"; E$; "XSMANUAL MODE";
PRINT #1, E$; "H050"; E$; "V1450"; E$; "2D30,Q,06,0,1,03,01,";
XORDATA$;
PRINT #1, E$; "DS1,"; DATA1$;
PRINT #1, E$; "H500"; E$; "V1450"; E$; "2D30,Q,06,0,1,03,02,";
XORDATA$;
PRINT #1, E$; "DS2,"; DATA2$;
Automatic Mode
PRINT #1, E$; "H050"; E$; "V1710"; E$; "XSAUTOMATIC MODE";
PRINT #1, E$; "H050"; E$; "V1750"; E$; "2D30,Q,06,1,1,03,01,";
XORDATA$;
PRINT #1, E$; "DN0010,"; DATA1$;
PRINT #1, E$; "H500"; E$; "V1750"; E$; "2D30,Q,06,1,1,03,02,";
XORDATA$;
PRINT #1, E$; "DN0045,"; DATA2$;
PRINT #1, E$; "H800"; E$; "V2000"; E$; "XSf:BASIC\QBA-
SIC\CL412\QR_CODE.BAS";
PRINT #1, E$; "Q1";
PRINT #1, E$; "Z";