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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simphony QRCode Printing with ISL Code

Status
Not open for further replies.

DimitrisTsalapatis

Programmer
Jun 16, 2020
3
GR
Hi to all, can someone help me please ? I want to print qrcode threw my isl code.
In 3700 with the below code I'm printing,

In simphony the command formatraw is not supported did someone has an example code how i print qrcode ?

event INQ : 20
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



Regards

Dimitris Tsalapatis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top