
(2) Example of generating QRCODE in Manual mode:
a. a. General data string
SIZE 4,2.5
CAP 0.12,0
CLS
QRCODE 10,10,H,4,M,0,"AABC!B0003abc!N123"
QRCODE 160,160,H,4,M,0,"N123!AABC!B0003abc"
QRCODE 310,310,H,4,M,0,"K
打印机
!AABC!B0006abc123"
PRINT 1,1
b. The string including <Enter>(i.e.: 0Dh, 0Ah), <Enter> shall be 8-bit byte data
SIZE 4,2.5
CAP 0.12,0
CLS
QRCODE 10,10,H,4,M,0,"AABC!B0007<Enter>
abc<Enter>
!N123"
QRCODE 160,160,H,4,M,0,"N123!B0002<Enter>
!AABC!B0005<Enter>
abc"
QRCODE 310,310,H,4,M,0,"K
打印机
!B0002<Enter>
!AABC!B0010<Enter>
abc<Enter>
123"
PRINT 1,1
c. Data concatenation (Must in
DOENLOAD…EOP mode)
DOWNLOAD “A.BAS”
SIZE 4,2.5
CAP 0.12,0
CLS
QRCODE 10,10,H,4,M,0,"AABC!B0006abc123!N"+STR$(1234)
QRCODE 160,160,H,4,M,0,"N123!AABC!B0007abc"+"1234"
QRCODE 310,310,H,4,M,0,"K
打印机
!AABC!B0014abc123"+"1234"+"abcd"
PRINT 1,1
EOP
A
d. Data including Double quotation mark, change (
“) to \[“]
SIZE 4,2.5
CAP 0.12,0
CLS
QRCODE 10,10,H,4,M,0,"AABC!B0005\["]abc\["]!N123"
QRCODE 160,160,H,4,M,0,"N123!B0001\["]!AABC!B0004\["]abc"
QRCODE 310,310,H,4,M,0,"B0001\["]!K
打印机
!B0010\["]ABCabc123"
PRINT 1,1