QRCode Reader and QRCode Generator with Zxing
Mario Francisco Celleri
Posts: 2
Mario Francisco Celleri replied the code: QRCode Reader and QRCode Generator with Zxing
Thanks Ramón.
Please Log in or Create an account to join the conversation.
Ramón San Félix Ramón
CODE AUTHOR
Posts: 31
Ramón San Félix Ramón replied the code: QRCode Reader and QRCode Generator with Zxing
Hello again.
I have been going around the example with EAN13 and this is what has come out.
I am attaching it as a zip file in case it helps.
It is in PowerBuilder2022 Build 1878.
Best Regards!.
I have been going around the example with EAN13 and this is what has come out.
I am attaching it as a zip file in case it helps.
It is in PowerBuilder2022 Build 1878.
Best Regards!.
This message has an attachment file.
Please log in or register to see it.
Please Log in or Create an account to join the conversation.
Ramón San Félix Ramón
CODE AUTHOR
Posts: 31
Ramón San Félix Ramón replied the code: QRCode Reader and QRCode Generator with Zxing
Hi Mario,
I have tried the example with Ean13 and I don't like how it works. It seems that to generate the barcode you can only enter 12 characters without symbols or twelve characters plus the control digit. When reading the code, it adds the control digit to the right if you haven't put it.
I have tested the example with Code-39 and it works perfectly, and it is very similar to Ean13.
For this you have to make some changes in the example.
In the of_generar_qr function of the nvo_barcode object, change the li_format =QR_CODE variable to li_format=CODE_39
Also you have to change the dimensions of the code I have put li_width=423 li_height=41. (Take care with the order of the parameters, in my example it is wrong, but nothing happens because the qr measures the same height and width).
.
To read the code the same function of_leer_qr() works since it actually calls the function of_readbarcode() which does not specify format.
Likewise, instead of modifying the functions, you can create new ones or solve it as you see fit.
Best Regards.
I have tried the example with Ean13 and I don't like how it works. It seems that to generate the barcode you can only enter 12 characters without symbols or twelve characters plus the control digit. When reading the code, it adds the control digit to the right if you haven't put it.
I have tested the example with Code-39 and it works perfectly, and it is very similar to Ean13.
For this you have to make some changes in the example.
In the of_generar_qr function of the nvo_barcode object, change the li_format =QR_CODE variable to li_format=CODE_39
Also you have to change the dimensions of the code I have put li_width=423 li_height=41. (Take care with the order of the parameters, in my example it is wrong, but nothing happens because the qr measures the same height and width).
.
To read the code the same function of_leer_qr() works since it actually calls the function of_readbarcode() which does not specify format.
Likewise, instead of modifying the functions, you can create new ones or solve it as you see fit.
Best Regards.
Attachments:
Please Log in or Create an account to join the conversation.
Mario Francisco Celleri
Posts: 2
Mario Francisco Celleri replied the code: QRCode Reader and QRCode Generator with Zxing
Hi Ramón;
How to use this with EAN-13 codebar?
Is that possible?
How to use this with EAN-13 codebar?
Is that possible?
Please Log in or Create an account to join the conversation.