Search found 44 matches: npad

Return to advanced search

Re: Ayuda Urgente

El método CmSay( nRow, nCol, cText, oFont, nWidth, nClrText, nBkMode, nPad, lO2A ) admite un parámetro nPad que
puede ser:

#define PAD_LEFT 0
#define PAD_RIGHT 1
#define PAD_CENTER 2
by Antonio Linares
Wed Apr 14, 2021 9:15 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda Urgente impresión ** SOLUCIONADO
Replies: 9
Views: 1054

Re: Ayuda Imprimir Liquidacion de Sueldo

... de sueldo, usando impresora inyección de tinta. Me han recomendado que use "CmSay( nRow, nCol, cText, oFont, nWidth, nClrText, nBkMode, nPad, lO2A )", no se si será la mejor forma?. 1. Lo primero que necesito es centrar el Titulo considerando el total del ancho de una pagina Letter ...
by FranciscoA
Sun Apr 04, 2021 4:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda Imprimir Liquidacion de Sueldo
Replies: 18
Views: 2335

Ayuda Imprimir Liquidacion de Sueldo

... de sueldo, usando impresora inyección de tinta. Me han recomendado que use "CmSay( nRow, nCol, cText, oFont, nWidth, nClrText, nBkMode, nPad, lO2A )", no se si será la mejor forma?. 1. Lo primero que necesito es centrar el Titulo considerando el total del ancho de una pagina Letter ...
by remtec
Sat Apr 03, 2021 12:13 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda Imprimir Liquidacion de Sueldo
Replies: 18
Views: 2335

Re: Know the size of a font selected

... you see how to do. You have to change the pen before printing. Best regards, Otto METHOD Say( nRow, nCol, cText, oFont, nWidth, nClrText, nBkMode, nPad ) CLASS VRD IF ::oPrn:hDC = 0 RETURN NIL ENDIF DEFAULT oFont := ::oPrn:oFont DEFAULT nBkMode := 1 DEFAULT nPad := 0 IF oFont != nil oFont:Activate( ...
by Otto
Tue Nov 03, 2020 10:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Know the size of a font selected - Resolved -
Replies: 9
Views: 1255

Printer class question - RESOLVED

... 5.5 width 4.5 height 0.8 Font Arial 12 Bottom position centered alignment I tried with CmSay( nRow, nCol, cText, oFont, nWidth, nClrText, nBkMode, nPad, lO2A ) but it's no god #include "fivewin.ch"#define PAD_LEFT            0#define PAD_RIGHT           1#define PAD_CENTER          2function ...
by Silvio.Falconi
Tue Oct 20, 2020 9:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printer class question - RESOLVED
Replies: 41
Views: 3195

Re: Mr. Nages please: HARU PDF Bugs/Extensions

Now, reviewing the issue of compatibility of the behavior of the method Say() when nWidth parameter is nil and nPad is Right/Center. This program shows the difference in the behaviour. #include "fivewin.ch"#include "report.ch"REQUEST FWHARUfunction Main()  ...
by nageswaragunupudi
Thu Mar 05, 2020 11:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mr. Nages please: HARU PDF Bugs/Extensions
Replies: 21
Views: 5531

PRINT oPrn:CmSay PADDING is NOT Working

Dear All , I am using PRINT Object to print some reports. In the CMSay Method nPad Parameter is for padding as given below. In the Preview do not see PADDING RIGHT . Could you please help on this...!    //METHOD CmSay( nRow, nCol, cText, oFont, nWidth, nClrText, ...
by shri_fwh
Sun Jul 28, 2019 10:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: PRINT oPrn:CmSay PADDING is NOT Working
Replies: 2
Views: 463

Re: New FWH 19.03

oPrn:Say( nRow, nCol, cText, oFont, nWidth, nClrText, nBkMode, nPad ) I can say, that after i use a certain color for text, this color are stay in further oPrn:say()s! If i will back to black i must this explicit define in the next oPrn:say()! Please also ...
by nageswaragunupudi
Thu Apr 11, 2019 2:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 19.03
Replies: 37
Views: 4923

Re: Para Rick, u otro que lo haya logrado

Hola.
Increíble. A veces uno "se ahoga en una gota de agua".
Lo solucioné estipulando el nPAD correspondiente.
He medido con una regla y las coordenadas se imprimen bien. Ahora solo falta probar en otras impresoras.
Saludos.
by FranciscoA
Tue Feb 05, 2019 3:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Para Rick, u otro que lo haya logrado
Replies: 4
Views: 952

Re: Urge: impresion en multifuncional

... Syntax:<oPrn>:Say( <nRow>, <nCol>, <cText>, <oFont>, <nWidth>,<nClrText>,<nBkMode>, <nPad> ) Parameters: <nRow> <nCol> The coordinates where to display a text. They are graphical coordinates, and may be pixels, inches, ...
by admsoporte
Mon Dec 31, 2018 11:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Urge: impresion en multifuncional
Replies: 4
Views: 833

Re: Urge: impresion en multifuncional

... oPrn es: <oPrn>:Say( <nRow>, <nCol>, <cText>, <oFont>, <nWidth>, <nClrText>, <nBkMode>, <nPad> )  recuerdo que en alguna ocasión en el parámetro nWidth le puse el ancho de la pagina y en nPad use centrar y funciono. el valor ...
by admsoporte
Sun Dec 30, 2018 2:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Urge: impresion en multifuncional
Replies: 4
Views: 833

Re: Felices reyes!

Carlos Mora. Otro pequeño bug en ::say() si se centra el say ( nPad := 2 ) daba error fues falta el valor de nWidth . METHOD Say(  ..........................   OTHER      nWidth := HPDF_Page_TextWidth( ::hPage, cText ...
by mastintin
Tue Feb 21, 2017 3:55 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Felices reyes!
Replies: 60
Views: 18903

Re: Versão atual TDOLPHIN - Campo Null

... and test. METHOD GetRow( nRow ) CLASS TDolphinQry LOCAL cType, uValue, cField LOCAL cCol LOCAL nIdx LOCAL aRow LOCAL hRow, uItem, aStructure, nPad DEFAULT nRow TO ::nRecNo IF ::hResult <> NIL DO CASE CASE ::nRecCount < 1 ::lBof := .t. ::lEof := .t. ::nRecNo := 1 CASE nRow > 0 .and. ...
by MGA
Wed Oct 19, 2016 6:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Versão atual TDOLPHIN - Campo Null
Replies: 6
Views: 1947

Re: Printing an image.

... oFont1 ) * 0.5 // 0.5 * textwidth nFontHeight := oFont1:nHeight // points // CmSay( nRow, nCol, cText, oFont, nWidth, nClrText, nBkMode, nPad, lO2A ) oPRINT:cmSay( 10.5 - oFont1:nHeight * 0.002834645669291, 14.85 - nTextCentH, "AAA", oFont1,,CLR_BLACK,,PAD_LEFT ) // MsgAlert( ...
by ukoenig
Mon Sep 19, 2016 9:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printing an image.
Replies: 18
Views: 5589

Re: Report Drill Down

... on rptcolumn function to insert the option urllink and call this class but I not tried it I think we must modify METHOD Say( nCol, xText, nFont, nPad, nRow ) of Treport a and insert a call to urllink class or Say( nRow, nCol, cText, oFont, nWidth, nClrText, nBkMode, nPad ) CLASS TPrinter because ...
by Silvio.Falconi
Wed Jan 13, 2016 12:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Report Drill Down
Replies: 34
Views: 8540
Next

Return to advanced search