How to add RS, GS, EOT to QRcode

V Vedsatx Saddvv 3 years ago
149 3 0

! 0 200 200 240 1
PW 480
TONE 50
SPEED 2
SETFF 0 5
ON-FEED FEED
NO-PACE
GAP-SENSE
B QR 330 30 M 2 U 2
HA,RS GS 109100857 GS 10287360 GS R1707061 GS 170706 GS 180705 GS 10120501 GS 20 GS GS GS EOT
ENDQR
PRINT
 
I can't do this in this way.
HM,B001E,AQRcode,B001D0123456789012345,A,B0004
 

With ZPL, I know it's done, but CPCL doesn't know how to achieve this effect.
 
 
Data: qrcode
The {data} field presentation:
LM,AQRcode,N0123456789012345,AQRCODE,B0006qrcode
 
The above example:The special character is a space, in the example, B 0006
The ASCII of the space is 32, and the BCD is: 00110010, how do you get 0006?

Please register or login to post a reply

3 Replies

善军 包

HI Steven Si:
    Based on your help, I wrote this.
"ABCDEF,B0001" & Chr(29) & ",AHIJKLMN" & "B0001" & Chr(29) & "AOPQRSTUVWXYZ"

Generated code, sweep out is:ABCDEF HIJKLMNB0002AOPQRSTUVWXYZBOMQ

Why would it? "B0002"?   and The second Chr(29) Turn into string?  data There are four more letters at the end “BOMQ”????

I want suburban fruit :ABCDEF HIJKLMN OPQRSTUVWXYZ

http://fanyi.baidu.com/###

Most posterior

V Vedsatx Saddvv

For sure, we can use CPCL to encode these printable special characters listed on the ASCII table. To do so, the Data Input Mode has to be in manual mode. Then the special character (the printable special characters, such as ~ _@^()[]{}, including white space) can be encoded with B. For example, the following CPCL encode the "123456789123456789AABCDEFGHIJKLM ~ _@^()[]{}abcdefg" string in QR code

! 0 200 200 240 1PW 480TONE 50SPEED 2SETFF 0 5ON-FEED FEEDNO-PACEGAP-SENSEB QR 330 30 M 2 U 5LM,N123456789123456789,AABCDEFGHIJKLM,B0019 ~ _@^()[]{}abcdefgENDQRPRINT
If we want to encode "B 0006" in QR code as you've asked, we can use the following CPCL. Please pay attention to "B0001 ," (with a space in between).
! 0 200 200 240 1PW 480TONE 50SPEED 2SETFF 0 5ON-FEED FEEDNO-PACEGAP-SENSEB QR 330 30 M 2 U 5LM,AB,B0001 ,N0006ENDQRPRINT
Hope this helps.

善军 包

Please reply as soon as possible, three days before the post, I do not know whether the reason is not Chinese, no reply, now paste it as English, please reply

CONTACT
Can’t find what you’re looking for?