HMG.3.4.2

HMG Unicode versions 3.1.x related

Moderator: Rathinagiri

User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG.3.4.2

Post by Rathinagiri »

mustafa wrote:Hola amigo Rathinagiri

Con el nuevo parche del Dr. Claudio
hmg.3.4.2_patch_1.rar, sigue saliendo el
mismo problema al generar un informe en pdf
mediante HPDFPRINT, siguen las letras cayendo
viewtopic.php?f=43&t=4484&start=40
Un saludo
*------------------- Google -----------------*
Hello friend Rathinagiri

With the new patch of Dr. Claudio
hmg.3.4.2_patch_1.rar, is leaving the
same problem when generating a report in PDF
by HPDFPRINT continue falling letters
viewtopic.php?f=43&t=4484&start=40
A greeting
mustafa
Dear Mustafa,

It is a one time bug fix to align with the printer and pdf creation. So, either you can change your code to accommodate or change the HMG source code and recompile the library.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
emzampi
Posts: 106
Joined: Sun Aug 11, 2013 9:00 am

Re: HMG.3.4.2

Post by emzampi »

excuse but as mentioned works by entering the command RedrawWindow (BUSTA1.HANDLE) that with hmg 3.4.0 was not necessary to use. So something has changed with version 3.4.2 (also using c: \ hmg.3.4.2 \ BuildLib.bat) .is this change that puzzles me ?? !!
Thank you
User avatar
mustafa
Posts: 1159
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Contact:

Re: HMG.3.4.2

Post by mustafa »

Hola Rathinagiri
Creo que la solución no es correcta, en versiones
anteriores se genera el documento PDF correctamente
y con la versión HMG.3.4.2 las letras salen situadas
más abajo.

La solución provisional claro es cambiar las coordenadas
de cada posición de letras, pero creo que esto no es correcto
Obligar a modificar todo el código para que las lineas salgan
alineadas.

ejemplo:
Anterior código HMG.3.4.1
@ 018 , 015 HPDFPRINT "TRA-EXP (Transporter-Express)" FONT "Times-Roman" SIZE 24 ITALIC
@ 026 , 015 HPDFPRINT DTOC(DATE()) FONT "Times-Roman" SIZE 14 ITALIC

Nuevo código HMG.3.4.2
@ 010 , 015 HPDFPRINT "TRA-EXP (Transporter-Express)" FONT "Times-Roman" SIZE 24 ITALIC
@ 022 , 015 HPDFPRINT DTOC(DATE()) FONT "Times-Roman" SIZE 14 ITALIC

Si el proyecto es nuevo no pasa nada, pero si el proyecto ya está construido como en mi caso
y solo quiero incorporar a la nueva HMG.3.4.2 dicho proyecto, tengo que modificar todo el código
fuente.
Un saludo

*----------------------------- Google ---------------------*
Hello Ratnagiri
I think the solution is not correct, in versions
above the PDF document is generated correctly
and the letters out version HMG.3.4.2 located
below.

The workaround is to change course coordinates
letters of each position, but I think this is not correct
Forcing change all the code for the lines out
aligned.

example:

Previous code HMG.3.4.1
@ 018, 015 HPDFPRINT "TRA-EXP (Transporter-Express)" FONT "Times-Roman" SIZE 24 ITALIC
@ 026, 015 HPDFPRINT DTOC (DATE ()) FONT "Times-Roman" SIZE 14 ITALIC

New code HMG.3.4.2
@ 010, 015 HPDFPRINT "TRA-EXP (Transporter-Express)" FONT "Times-Roman" SIZE 24 ITALIC
@ 022, 015 HPDFPRINT DTOC (DATE ()) FONT "Times-Roman" SIZE 14 ITALIC

If the project is new, nothing happens, but if the project is built like me
and I just want to incorporate the new HMG.3.4.2 this project, I have to change all the code
font.
A greeting
Mustafa
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG.3.4.2

Post by Rathinagiri »

Dear Mustafa,

I am working on the fix. Please wait. :)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG.3.4.2

Post by srvet_claudio »

emzampi wrote:excuse but as mentioned works by entering the command RedrawWindow (BUSTA1.HANDLE) that with hmg 3.4.0 was not necessary to use. So something has changed with version 3.4.2 (also using c: \ hmg.3.4.2 \ BuildLib.bat) .is this change that puzzles me ?? !!
Thank you
Please try with this exe file (compiled with HMG.3.4.2 patch 1 in Win10).
Attachments
aaprova_EXE.rar
(1.27 MiB) Downloaded 373 times
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
emzampi
Posts: 106
Joined: Sun Aug 11, 2013 9:00 am

Re: HMG.3.4.2

Post by emzampi »

Your exe works well .My filled with hmg 3.4.2 patch 1 in win 7 does not work (only works with the command RedrawWindow (BUSTA1.HANDLE)
emzampi
Posts: 106
Joined: Sun Aug 11, 2013 9:00 am

Re: HMG.3.4.2

Post by emzampi »

Sorry but I realized that even with your exe is the overlap of numbers (sliding sheet and changing the month)
emzampi
Posts: 106
Joined: Sun Aug 11, 2013 9:00 am

Re: HMG.3.4.2

Post by emzampi »

with my executable with the command RedrawWindow (BUSTA1.HANDLE) happens almost the same thing
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG.3.4.2

Post by srvet_claudio »

emzampi wrote:Sorry but I realized that even with your exe is the overlap of numbers (sliding sheet and changing the month)
Please unzip this file (my lib compile) in c:\hmg.3.4.2 and test.
Attachments
lib_HMG.3.4.2_patch_1.rar
(497.47 KiB) Downloaded 428 times
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
klauskugel
Posts: 90
Joined: Tue Oct 09, 2012 2:28 pm

Re: HMG.3.4.2

Post by klauskugel »

Hi Doc,
many thanks for your enormous efforts.
HMG 3.4.2 patch 1 works like a charm.
Compiled it with mingw 5.2.
Up to the named errs I didn't have anything to complain.
I even rebuild it under Wine 1.7.51 (Win10-Support in Puppy Linux ) and all works well.

Greetings from cold germany ( 0° Celsius in the morning ).
:D :D :D
klauskugel

P.S. What about Christmas Smileys? Frozen beards or something?
Post Reply