RE: Code 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.
RE: Code QR
I used the library and it works well. I've not done this specific option, but there is a jpeg output option to ghostscript. The difficulty is you need to know enough postscript to pump out your QR info as (.. qr text...) and add a showpage command. Note: under windows, this is not quick (4-10 seconds). Better in linux.