Page 8 of 21

Re: HMG.3.4.2

Posted: Sat Oct 10, 2015 4:33 pm
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.

Re: HMG.3.4.2

Posted: Sun Oct 11, 2015 7:30 am
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

Re: HMG.3.4.2

Posted: Sun Oct 11, 2015 10:00 am
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

Re: HMG.3.4.2

Posted: Sun Oct 11, 2015 3:55 pm
by Rathinagiri
Dear Mustafa,

I am working on the fix. Please wait. :)

Re: HMG.3.4.2

Posted: Mon Oct 12, 2015 1:41 am
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).

Re: HMG.3.4.2

Posted: Mon Oct 12, 2015 1:22 pm
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)

Re: HMG.3.4.2

Posted: Mon Oct 12, 2015 4:23 pm
by emzampi
Sorry but I realized that even with your exe is the overlap of numbers (sliding sheet and changing the month)

Re: HMG.3.4.2

Posted: Mon Oct 12, 2015 4:29 pm
by emzampi
with my executable with the command RedrawWindow (BUSTA1.HANDLE) happens almost the same thing

Re: HMG.3.4.2

Posted: Mon Oct 12, 2015 7:35 pm
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.

Re: HMG.3.4.2

Posted: Mon Oct 12, 2015 8:25 pm
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?