Search found 123 matches: centrar

Return to advanced search

Re: Centrar texto VERTICALMENTE

Using PRINT oPrn FILE <pdffile>, there are 3 ways to generate PDFs. 1. Using Microsoft Word, if installed on the PC. This is the default. Printer class generates emf files and embeds them into Word document and saves as PDF. pros: Good quality and medium size pdfs cons: (1) Does not support ro...
by nageswaragunupudi
Wed Apr 10, 2024 1:18 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Centrar texto VERTICALMENTE
Replies: 12
Views: 426

Re: Centrar texto VERTICALMENTE

But de quality of the typography in the PDF is not good.

Yes. Also PDF file size is large.

I guess the best solution must be to use HaruPDF.

Yes. Simple and smaller pdf file sizes.
by nageswaragunupudi
Wed Apr 10, 2024 12:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Centrar texto VERTICALMENTE
Replies: 12
Views: 426

Re: Centrar texto VERTICALMENTE

Please try this way #include "fivewin.ch"function Main()   local oPrn, oFont   local cPdf  := "lerele.pdf" // your pdf file name   TPrinter():lUseFWPDF := .t.      PRINT oPrn FILE cPdf PREVIEW  // PREVIEW is optional. You can ommit PREVIEW   DEFINE FONT oFont NAM...
by FiveWiDi
Tue Apr 09, 2024 7:07 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Centrar texto VERTICALMENTE
Replies: 12
Views: 426

Re: Centrar texto VERTICALMENTE

Please try these samples in the samples folder:
print01.prg
print02.prg
pdfharu1.prg
pdfharu2.prg

You can see how to generate pdfs using Word, FWH own pdf, HaruPDF, Image2pdf
Please see how simplest and one line code to print complex outputs.

And advise us what more you want us to provide
by nageswaragunupudi
Tue Apr 09, 2024 6:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Centrar texto VERTICALMENTE
Replies: 12
Views: 426

Re: Centrar texto VERTICALMENTE

Mr. Karinha Mira se ayuda: Your example is longer but the same as my original sample as far as vertical oriented text is concerned, You are missing the real point. If you execute the program on a computer where MSWord is installed, you can not see the vertical text in the PDF. You see the vertical ...
by karinha
Tue Apr 09, 2024 5:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Centrar texto VERTICALMENTE
Replies: 12
Views: 426

Re: Centrar texto VERTICALMENTE

Mr. Karinha Mira se ayuda: Your example is longer but the same as my original sample as far as vertical oriented text is concerned, You are missing the real point. If you execute the program on a computer where MSWord is installed, you can not see the vertical text in the PDF. You see the vertical t...
by nageswaragunupudi
Tue Apr 09, 2024 4:58 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Centrar texto VERTICALMENTE
Replies: 12
Views: 426

Re: Centrar texto VERTICALMENTE

Mr. Nages, I use the class TImprime and TUtilprn (provided years ago by Rafa Carmona ). At the moment this is how it works for me (more or less): ndummyaltura := ( ::oPrn:CmVertPhySize() / 2 ) + ( ::oPrn:CmtrGetTextWidth( AllTrim( ::oTDbfDatAmp:REGMER ), ::oFnt_Arial6V ) / 2 ) UTILPRN ::oUtil ndumm...
by nageswaragunupudi
Tue Apr 09, 2024 4:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Centrar texto VERTICALMENTE
Replies: 12
Views: 426

Re: Centrar texto VERTICALMENTE

Mira se ayuda: // C:\FWH\SAMPLES\IMPTXT3.PRG#Include "FiveWin.ch"FUNCTION Main()   LOCAL WNOMBREARQPDF   IF FILE( "C:\TEMP\ARCHIVO.PDF" )      ERASE( "C:\TEMP\ARCHIVO.PDF" )   ENDIF   MsgRun&...
by karinha
Tue Apr 09, 2024 4:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Centrar texto VERTICALMENTE
Replies: 12
Views: 426

Re: Centrar texto VERTICALMENTE

Please try this way #include "fivewin.ch"function Main()   local oPrn, oFont   local cPdf  := "lerele.pdf" // your pdf file name   TPrinter():lUseFWPDF := .t.      PRINT oPrn FILE cPdf PREVIEW  // PREVIEW...
by nageswaragunupudi
Tue Apr 09, 2024 4:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Centrar texto VERTICALMENTE
Replies: 12
Views: 426

Re: Centrar texto VERTICALMENTE

Mr. Nages, I use the class TImprime and TUtilprn (provided years ago by Rafa Carmona ). At the moment this is how it works for me (more or less): ndummyaltura := ( ::oPrn:CmVertPhySize() / 2 ) + ( ::oPrn:CmtrGetTextWidth( AllTrim( ::oTDbfDatAmp:REGMER ), ::oFnt_Arial6V ) / 2 ) UTILPRN ::oUtil ndummy...
by FiveWiDi
Tue Apr 09, 2024 3:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Centrar texto VERTICALMENTE
Replies: 12
Views: 426

Re: Centrar texto VERTICALMENTE

[quote="nageswaragunupudi"]Please try this sample program #include "fivewin.ch"function Main()   local oPrn, oFont   PRINT oPrn PREVIEW   DEFINE FONT oFont NAME "Arial" SIZE 0,-60 NESCAPEMENT 900 OF oPrn   PAGE      oPrn:Box( 1, 1, 9, 4, 1, nil, nil, "I...
by FiveWiDi
Tue Apr 09, 2024 2:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Centrar texto VERTICALMENTE
Replies: 12
Views: 426

Re: Centrar texto VERTICALMENTE

Please try this sample program #include "fivewin.ch"function Main()   local oPrn, oFont   PRINT oPrn PREVIEW   DEFINE FONT oFont NAME "Arial" SIZE 0,-60 NESCAPEMENT 900 OF oPrn   PAGE      oPrn:Box( 1, 1, 9, 4, 1, nil, nil, "INCHES" )      @ 1,1 PRINT TO...
by nageswaragunupudi
Tue Apr 09, 2024 3:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Centrar texto VERTICALMENTE
Replies: 12
Views: 426

Centrar texto VERTICALMENTE

Hola a todos, Tengo que centrar un texto verticalmente. Está escrito en el eje de las 'y', en vertical, el FONT que utilizo está definido así: DEFINE FONT oFnt_Arial6V NAME "Arial" SIZE 0,-6 OF ::oPrn NESCAPEMENT 900 PRINTER ...
by FiveWiDi
Mon Apr 08, 2024 10:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Centrar texto VERTICALMENTE
Replies: 12
Views: 426

Re: Alenear o centrar el contenido de un GET

Con WORKSHOP.exe, no me gusta.

https://imgur.com/9TocYD0

Image

Regards, saludos.
by karinha
Wed Feb 14, 2024 4:58 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Alenear o centrar el contenido de un GET
Replies: 6
Views: 293

Re: Alenear o centrar el contenido de un GET

Code: Select all  Expand view

   DEFINE FONT oFont NAME "ARIAL" SIZE 5, 5 NESCAPEMENT 900
 


Con GET, no funciona. si en RECURSOS, creo sea posible. Con @...*código", sólo si es un GET encima del OTRO, hasta formar la palabra vertical.

Regards, saludos.
by karinha
Wed Feb 14, 2024 4:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Alenear o centrar el contenido de un GET
Replies: 6
Views: 293
Next

Return to advanced search