Support 805.461.7300
Sales
Our Technology. Your Success.
Tech Notes

Convert URL to QR Code Data

You can use the Command window and the following syntax to create an Excel document. You cannot use the Export window or export to a Text file as the QR Code contains CR/LF characters.

You can open a database that contains the URL String you want to convert to a QR Code.

Run this command:

SELECT *, padr(oPrintBc.QRCode(userpcqr,0),240) as qrcode1,padr(substr(oPrintBc.QRCode(userpcqr,0),241),240) as qrcode2 FROM ALIAS() INTO CURSOR myresult READWRITE
COPY TO ("c:\test.XLS") TYPE XL5
USE

In the above command, change the userpcqr to whatever field name that your QR Code URL is in. Then you can open Microsoft Word and create a Mail Merge using the test.xls file that was created and use the new "qrcode1" and "qrcode2" fields right next to each other (the qrcode1 field contains the first half of the QR Code and the qrcode2 field contains the second half). Apply the "IDAutomation2D" font in whichever Font Size that will scan.

« Back to Tech Notes

I've been getting unsolicited comments from clients about your support. They are saying things like, 'Without doubt, the finest software support that I have ever received'. Keep up the good work!
Dealer, Silver Spring, MD