How to generate QR code and convert it to jpg file ?? to print Thank you
#qr
What version of ACUCOBOL are you using? If you're on version 9.x or later, you might consider calling an online web service using the RMNet library support in the ACUCOBOL runtime.
However, if you do so, you'll want to use a service that can return the QR image in the SVG file format, which is text-based (specifically, XML). You need to do this because, unfortunately, RMNet doesn't currently handle binary formats like GIF, PNG, and JPG.
I googled using the search terms "qr code generator web service" and the first result provided this capability.
Once you've retrieved the image, you can open it with a web browser or other software for printing.
Have a look at the sample code I just provided on another post on this forum as a reference for using the RMNet HttpGet function.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.