Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Micros 3700 Sim Printing QRcode in Trailer

Status
Not open for further replies.

Craig S

IS-IT--Management
May 17, 2022
1
US
Looking at thread693-1791123 I see someone trying to print a QR code in a trailer.
I am not looking to print a static QR code, so .bmp printing is not for me.

I have gotten this to work, by pressing a button, which shows it is possible.
I just need this in the trailer.

event INQ : 2
var qrCodeData: A255
var qrCodeDataLen : N3
var rawDataLen: N3
var PrintDataCode : A1000


startprint @CHK


format qrCodeData as "20220000000000000001"
qrCodeDataLen = len(qrCodeData) + 3
rawDataLen = len(qrCodeData) + 48
FORMATRAW "ABC", 200, chr(127), rawDataLen, ";", chr(13), chr(10), chr(27), chr(97), chr(1), chr(29), chr(40), chr(107), chr(4), chr(0), chr(49), chr(65), chr(50), chr(0), chr(29), chr(40), chr(107), chr(3), chr(0), chr(49), chr(67), chr(5), chr(29), chr(40), chr(107), chr(3), chr(0), chr(49), chr(69), chr(48), chr(29), chr(40), chr(107), chr(qrCodeDataLen), chr(0), chr(49), chr(80), chr(48), qrCodeData, chr(29), chr(40), chr(107), chr(3), chr(0), chr(49), chr(81), chr(48), chr(27), chr(64)

printline "@@ABC@@"



endprint



endevent


Thanks,
Craig
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top