Hi Attila,
I managed to create a QR code using OGL with the following code:
DEFINE QR BARCODE QRCODE HEIGHT 15 MM RATIO 1.01;    
POSITION 1 IN 1 IN;                                  
PLACE BARCODE QR CHAR 'HTTP://WWW.YNET.CO.IL';       

The current problem is that when I scan the code, it does return the required 
text.


Gadi

-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Attila Fogarasi
Sent: יום ג 20 יוני 2023 09:17
To: [email protected]
Subject: Re: Creating a qr code using OGL

I doubt OGL has changed in past 20 years.  It does fully support barcodes 
(which is what I used OGL for) but I would be astonished if it has been 
extended to QR codes.  OGL can embed graphics from PDS members, but I don't 
know how to create the graphic (it won't be jpeg).  Finally OGL allows defining 
arbitrary printing using a bitmap at 240 pel per inch, so string of 1 and 0 
where 1 prints a black pel at that position.  You could construct QR code that 
way, should be possible to automate with scan.  I guess Xerox still makes 
printers which use OGL, not sure what other printers are still supported.  As 
for manual, google found several which look valid, 
https://det.wi.gov/Documents/ibm_overlay_generation_language_user_guide.pdf

On Tue, Jun 20, 2023 at 3:14 PM Gadi Ben-Avi <[email protected]> wrote:

> Hi,
> Does anyone have an example to create a QR code using OGL.
> The QR code should encode a url.
>
> Thanks
>
> Gadi
>
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send 
> email to [email protected] with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to