QR Code in HMG

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
andyglezl
Posts: 1205
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Has thanked: 37 times
Been thanked: 86 times
Contact:

Re: QR Code in HMG

Post by andyglezl » Sun Nov 26, 2017 9:29 pm

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: 534
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland
Has thanked: 140 times
Been thanked: 455 times

Post by edk » Sun Nov 26, 2017 9:35 pm

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 1616 times

radohabjan
Posts: 96
Joined: Mon Nov 30, 2009 7:17 am
Location: Slovenia
Contact:

Post by radohabjan » Mon Nov 27, 2017 9:44 am

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: 534
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland
Has thanked: 140 times
Been thanked: 455 times

Post by edk » Mon Nov 27, 2017 10:10 am

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: 741
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia
Has thanked: 27 times
Been thanked: 171 times

Post by dragancesu » Fri Oct 18, 2019 9:14 am

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: 569
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany
Has thanked: 74 times
Been thanked: 126 times

Post by AUGE_OHR » Sat Oct 19, 2019 3:16 am

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: 3261
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 238 times
Been thanked: 137 times
Contact:

Post by mol » Sat Oct 19, 2019 6:00 am

I'm afraid there is no newer version.
Try to search reported bugs and solutions on the forum

User avatar
andyglezl
Posts: 1205
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Has thanked: 37 times
Been thanked: 86 times
Contact:

Post by andyglezl » 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 ...
Andrés González López
Desde Guadalajara, Jalisco. México.

User avatar
AUGE_OHR
Posts: 569
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany
Has thanked: 74 times
Been thanked: 126 times

Post by AUGE_OHR » Sat Oct 19, 2019 10:25 pm

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: 3261
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 238 times
Been thanked: 137 times
Contact:

Post by mol » Sun Oct 20, 2019 6:04 am

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

Post Reply