Page 2 of 4
Re: Como imprimir textos con orientacion diferente
Posted: Sat Sep 06, 2014 8:40 am
by JALMAG
Pablo César wrote:JALMAG wrote:No obstante se puede utilizar hmg_hpdf que si dispone de esa propiedad en lazandolo en la compilacion.
Disculpame, pero sigo no viendo como actualmente puede ser usado en hmg_hpdf. Puedes describir como hacerlo ?
Claro, sin problema. Para compilar, ejemplo de COMPILE.BAT
call ..\..\..\Batch\Compile.Bat presupue %1 /nl %2 %3 %4 %5 %6 %7 %8 %9
call ..\..\..\Batch\Compile.Bat hmg_hpdf %1 /nl %2 %3 %4 %5 %6 %7 %8 %9
call ..\..\..\Batch\Compile.Bat presupue %1 /lo /b hmg_hpdf /l hbhpdf /l libhpdf /l png /l hbzlib %2 %3 %4 %5 %6 %7 %8 %9
call ..\..\..\Batch\Compile.Bat presupue %1 /do %2 %3 %4 %5 %6 %7 %8 %9
call ..\..\..\Batch\Compile.Bat hmg_hpdf %1 /do %2 %3 %4 %5 %6 %7 %8 %9
En la aplicación PRESUPUE.PRG (Es un ejemplo)
#include "hmg_hpdf.ch"
Así es como lo hago y de este modo en PRINT poseo la propiedad ANGLE.
Evidentemente se necesitan los archivos: hmg_hpdf.prg y hmg_hpdf.ch que están en MINIGUI EXTENDED SAMPLES BASIC PDF_PRINT_1
Como imprimir textos con orientacion diferente
Posted: Sat Sep 06, 2014 12:30 pm
by Pablo César
Gracias amigo, queria saber si se trataba de HMG, pero entendi tu idea.
Re: Como imprimir textos con orientacion diferente
Posted: Sun Sep 07, 2014 8:22 am
by JALMAG
Pablo César wrote:Gracias amigo, queria saber si se trataba de HMG, pero entendi tu idea.
Se podría intentar la compatibilidad con HMG...
Re: Como imprimir textos con orientacion diferente
Posted: Sun Sep 07, 2014 10:17 am
by esgici
Sorry for disturbing
FYI :
I guess you are talking about something like this :

- Rotated print sample
- RotatedPrint (MR-Print).jpg (42.92 KiB) Viewed 3619 times
If so, you may want look at
here.
Happy HMG'ing

Re: Como imprimir textos con orientacion diferente
Posted: Sun Sep 07, 2014 8:44 pm
by Javier Tovar
Hello Mr. Esgici,
It looks great but I can not understand programming friend Rolando !!!
And I can not run the demo
greetings

Re: Como imprimir textos con orientacion diferente
Posted: Sun Sep 07, 2014 8:51 pm
by esgici
Javier Tovar wrote:Hello Mr. Esgici,
It looks great but I can not understand programming friend Rolando !!!
And I can not run the demo
greetings

Did you understand everything except this ?
What is meaning of
I can not run ?
Which error / problem occurred ?
Re: Como imprimir textos con orientacion diferente
Posted: Mon Sep 08, 2014 3:19 am
by Javier Tovar
Wanting to run the MRPrint.exe gives me the following error:

- Error MRPrint.jpg (33.01 KiB) Viewed 3573 times
And wanting to compile the demo, I get this error:
Code: Select all
Harbour 3.2.0dev (r1407111333)
Copyright (c) 1999-2014, http://harbour-project.org/
C:/Users/Maquina6/AppData/Local/Temp/hbmk_f8w5iq.dir/Demo.o:Demo.c:(.data+0x38): undefined reference to `HB_FUN_MR_PRINT'
C:/Users/Maquina6/AppData/Local/Temp/hbmk_f8w5iq.dir/Demo.o:Demo.c:(.data+0x338): undefined reference to `HB_FUN_HB_GT_WVG_DEFAULT'
collect2: ld returned 1 exit status
hbmk2: Error: Ejecutando enlazador. 1
gcc.exe C:/Users/Maquina6/AppData/Local/Temp/hbmk_f8w5iq.dir/Demo.o C:/Users/Maquina6/AppData/Local/Temp/hbmk_f8w5iq.dir/hbmk_5h69lk.o C:/hmg.3.3.1/Mios/Imprimir/_temp.o -Wl,--nxcompat -Wl,--dynamicbase -mwindows -Wl,--start-group -lhmg -lcrypt -ledit -leditex -lgraph -lini -lreport -lhfcl -lmsvfw32 -lvfw32 -lhbct -lhbwin -lhbmzip -lminizip -lhbmemio -lhbmisc -lhbmysql -lmysql -lhbtip -lhbsqlit3 -lsddodbc -lrddsql -lsddmy -lhbodbc -lodbc32 -lhbhpdf -lhbfimage -lhbpgsql -lhbnetio -lxhb -lpng -llibhpdf -lhbvpdf -lhbzebra -lhbextern -lhbdebug -lhbvmmt -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -liphlpapi -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -oDemo.exe -LC:/hmg.3.3.1/harbour/lib/win/mingw -LC:/hmg.3.3.1/lib
hbmk2: Error: Funci¢n(es) referenciada, no encontrada, pero desconocida:
MR_PRINT(), HB_GT_WVG_DEFAULT()
Any idea?
greetings
Re: Como imprimir textos con orientacion diferente
Posted: Mon Sep 08, 2014 3:31 am
by esgici
Javier Tovar wrote:...
Any idea?
Yes :
Code: Select all
If you are a programmer
you will solve easily these problems;
else
this project don't have any meaning to you.
endif
Re: Como imprimir textos con orientacion diferente
Posted: Mon Sep 08, 2014 3:56 pm
by Javier Tovar
esgici wrote:
Javier Tovar wrote:
...
Any idea?
Yes :
Code:
If you are a programmer
you will solve easily these problems;
else
this project don't have any meaning to you.
endif
Thank you Mr. Esgici,
Code: Select all
IF you are a programmer
I did not know that I was a programmer, I'm a bachelor juven, but hey, thanks for the label!
ELSE
And had not realized I was not for me this post, I just wanted to apologize !, learn from it.
END IF
Greetings!
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Gracias Sr. Esgici,
Code: Select all
IF Usted es Programador
No sabia que era yo un programador, soy un juven bachiller, pero bueno, gracias por el calificativo!
ELSE
Y no me había dado cuenta que no era para mi este post, disculpa!, yo solo quería aprender de él.
END IF
Saludos!
[/b]
Re: Como imprimir textos con orientacion diferente
Posted: Mon Sep 08, 2014 4:01 pm
by IMATECH
Hi just change contents to:
File: demo.prg
Code: Select all
PROCEDURE F_Set_Desktop()
...
hb_langSelect( "PT" )
hb_cdpSelect( "UTF8EX" )
...
Then study "demo.hbp"... and build the sample
Regards