Print Qr Code

I need to print Qr Code from Servoy, how I can do?
Has anyone succeeded in printing a qr code, using the plugn jaspeReport or VelocityReport?

Thanks in advance.

Hi Stefania.

You can get the QR image using this:

var _qrText='Hello World';
var _mediaData = plugins.http.getMediaData('https://chart.googleapis.com/chart?cht=qr&chl=' + _qrText + '&choe=UTF-8&chs=200x200');

That’s a byte array that you can treat on jasper as you would with any other bytea

I hope this helps

I thank you very much for your help!