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 Mike Lewis 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 Script - Print Variable QR Code

Status
Not open for further replies.

Lamay

Vendor
May 19, 2020
1
CA
Hi There,

I would like to encode a URL with some dynamic information from the check (check number) and print a qr code to the trailer of a guest check to be presented.

The QR Code would encode "
Where the checkNumber is variable based on the guest check being printed.

Any help would be greatly appreciated!

LM
 
Hi Lamay,
Any luck with this? We are trying to do the same thing and running into the @nul limitation of the 3700.

Thanks.
 
Hi I have the same problem in simphony and I'm trying to find a solution.

In some version of 3700 the below works fine .

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



startprint @CHK



format qrCodeData as "This is QR Code data! complete our survey and you will get the next meal free."
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top