Search found 55 matches: verticalmente

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: 431

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: 431

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: 431

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: 431

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: 431

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: 431

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: 431

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: 431

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: 431

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: 431

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: 431

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: 431

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 contempla ...
by FiveWiDi
Mon Apr 08, 2024 10:45 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Centrar texto VERTICALMENTE
Replies: 12
Views: 431

Re: Alenear o centrar el contenido de un GET

karinha wrote:Lo siento José, no recuerdo haber visto nada parecido a lo que quieres.

Regards, saludos

Saludos, revise los oGET normal y multiline y no hay como centrar verticalmente, solo horizontal, saludos... :shock:
by joseluisysturiz
Wed Feb 14, 2024 2:59 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Alenear o centrar el contenido de un GET
Replies: 6
Views: 296

Re: Consulta sobre centrar un dialogo.

Gracias Maestro por su tiempo.
Lo que me sugiere provoca el mismo efecto que el CENTERED del dialogo, o sea centra horizontal y verticalmente el dialogo.
yo busco centrar solo en forma Horizontal <--- ---->.

Gracias nuevamente por su tiempo.

José Camilo
by José Camilo
Mon Jul 31, 2023 1:25 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta sobre centrar un dialogo.
Replies: 9
Views: 433
Next

Return to advanced search