QR Code in HMG

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: QR Code in HMG

Post by andyglezl »

Muchas gracias por tu tiempo. Edk

Voy a hacer la prueba con tu código, ya que yo estoy utilizando:

@ 229,007 PRINT IMAGE System.TempFolder+"CB_QRCODE.jpg" WIDTH 32 HEIGHT 32

Sirve que así no genero el archivo .jpg físico.
*------------------------------------------------------------------------------------------------------
Thank you so much for your time. Edk

I'm going to do the test with your code, since I'm using:
@ 229.007 PRINT IMAGE System TempFolder + "CB_QRCODE .jpg" WIDTH 32 HEIGHT 32

It serves so that the physical JPG file does not generate.



Y también modificaré los cambios que indicas.
*---------------------------------------------------------
And I will also change the changes you indicate.
Andrés González López
Desde Guadalajara, Jalisco. México.
edk
Posts: 909
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland

Re: QR Code in HMG

Post by edk »

The error is due to an incorrectly calculated QR code width, resulting in an invalid jpg file.
qr.png
qr.png (8.23 KiB) Viewed 228845 times
radohabjan
Posts: 99
Joined: Mon Nov 30, 2009 7:17 am
Location: Slovenia
Contact:

Re: QR Code in HMG

Post by radohabjan »

Thx Edk for solve problem with QR

I reported this problem already in 2015:
http://www.hmgforum.com/viewtopic.php?f ... 510#p43023
Now I don't need anymore external QR Code generator in my program.

br Rado
edk
Posts: 909
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland

Re: QR Code in HMG

Post by edk »

radohabjan wrote: Mon Nov 27, 2017 9:44 am I reported this problem already in 2015:
http://www.hmgforum.com/viewtopic.php?f ... 510#p43023
Wow, I haven't seen this post before. :o :shock:
User avatar
dragancesu
Posts: 920
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia

Re: QR Code in HMG

Post by dragancesu »

if someone needs QRcode generator from command prompt

https://sourceforge.net/projects/zint/

And here (Serbia) we will need to put qr code on some invoices, you have a program on the link that works in windows command prompt and creates qr code as an image, there are many options
User avatar
AUGE_OHR
Posts: 2060
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: QR Code in HMG

Post by AUGE_OHR »

hi,

i have download HMG some week ago and found that BUG still exist in \SOURCE\h_HMG_Zebra.Prg :o

so i like to ask how to get latest Version of HMG \SOURCE\*.PRG :?:
have fun
Jimmy
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: QR Code in HMG

Post by mol »

I'm afraid there is no newer version.
Try to search reported bugs and solutions on the forum
User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: QR Code in HMG

Post by andyglezl »

En la página anterior de este mismo post, esta la solución dada por el amigo EDK...
*--------------------------------------------------------------------------------------------------------------------
On the previous page of this same post, there is the solution given by friend EDK ...
Andrés González López
Desde Guadalajara, Jalisco. México.
User avatar
AUGE_OHR
Posts: 2060
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: QR Code in HMG

Post by AUGE_OHR »

andyglezl wrote: Sat Oct 19, 2019 1:08 pm En la página anterior de este mismo post, esta la solución dada por el amigo EDK...
*--------------------------------------------------------------------------------------------------------------------
On the previous page of this same post, there is the solution given by friend EDK ...
Yes, i found that Msg from EDK
thats why i'm asking for "more" Hotfix (if need)

@Marek : how to find Hotfix :?:
have fun
Jimmy
User avatar
mol
Posts: 3718
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: QR Code in HMG

Post by mol »

You need to apply changes to hmg source code and recompile it by yourself
Post Reply