Como imprimir textos con orientacion diferente

HMG en Español

Moderator: Rathinagiri

JALMAG
Posts: 265
Joined: Sun Jan 10, 2010 7:05 pm
DBs Used: DBF, MariaDB
Location: España - Spain

Re: Como imprimir textos con orientacion diferente

Post 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
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Como imprimir textos con orientacion diferente

Post by Pablo César »

Gracias amigo, queria saber si se trataba de HMG, pero entendi tu idea.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
JALMAG
Posts: 265
Joined: Sun Jan 10, 2010 7:05 pm
DBs Used: DBF, MariaDB
Location: España - Spain

Re: Como imprimir textos con orientacion diferente

Post 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...
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Como imprimir textos con orientacion diferente

Post by esgici »

Sorry for disturbing :(

FYI :

I guess you are talking about something like this :
Rotated print sample
Rotated print sample
RotatedPrint (MR-Print).jpg (42.92 KiB) Viewed 3620 times
If so, you may want look at here.

Happy HMG'ing :D
Viva INTERNATIONAL HMG :D
Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México

Re: Como imprimir textos con orientacion diferente

Post 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 :)
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Como imprimir textos con orientacion diferente

Post 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 ?
Viva INTERNATIONAL HMG :D
Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México

Re: Como imprimir textos con orientacion diferente

Post by Javier Tovar »

Wanting to run the MRPrint.exe gives me the following error:
Error MRPrint.jpg
Error MRPrint.jpg (33.01 KiB) Viewed 3574 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
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Como imprimir textos con orientacion diferente

Post 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
Viva INTERNATIONAL HMG :D
Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México

Re: Como imprimir textos con orientacion diferente

Post 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]
User avatar
IMATECH
Posts: 188
Joined: Sun May 27, 2012 9:33 pm
Location: Brazil: Goiânia-GO.

Re: Como imprimir textos con orientacion diferente

Post 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
M., Ronaldo

By: IMATECH

Imation Tecnologia
Post Reply