Search found 25 matches: nrowstep

Return to advanced search

Dificultad con METERS

... cMensaje := left(CliFor->RazonSoc,15) oMensaje:Refresh() //msginfo(str(Clifor->Codcliente,4),'Cliente') if prow == 0 prow+=nrowstep oPrn:Say(prow, pcol*4 ,'Fecha de Emisión: ' + dtoc( date() ),oCour_n_10) ...... prow+=nrowstep*1.5 endif select DetVtaF DetVtaF->(DbGoTop()) ...
by José Camilo
Tue Aug 22, 2023 12:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Dificultad con METERS
Replies: 5
Views: 268

Unattended creation of .pdf . resolution problem -- RESOLVED

... a Printer .. where is oPrinter getting its values ... In the attached program .. I evaluate oPrinter to get the Horizontal and vertical values : nRowStep := oPrint:nVertRes() / 55 // pixel per line = 57.65 @ 55 nColStep := oPrint:nHorzRes() /130 // columns I use these values to place the output ...
by Rick Lipkin
Thu Sep 16, 2021 1:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Unattended creation of .pdf . resolution problem -- RESOLVED
Replies: 9
Views: 1312

Re: problema con DrawBitmap() usando tCodeBars

... aca te paso un sample de lo que estoy haciendo aver si a vos te funciona ! asi llamo a la funcion del codigo QR desde la rutina de impresion nRow+=nRowStep oPrn:say(nRow,nMargen, replicate('-',45),oFont1) nRow+=nRowStep //..Genera QR llamando a TcodeBars ) BuildQR(oPrn, nRow,nMargen ,cCodBar ) ...
by rterraz
Mon Mar 15, 2021 12:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: problema con DrawBitmap() usando tCodeBars
Replies: 10
Views: 1039

Re: Linea en tprinter

Hola. Aqui, otro ejemplo:
//-----------------------------------------------------------------
Function Linea(nLin1,nCol1,nLin2,nCol2,oPrn,oPen1,nRowStep,nColStep)
oPrn:Line(nLin1*nRowStep, nCol1*nColStep,nLin2*nRowStep,nCol2*nColStep,oPen1)
return nil

Saludos.
by FranciscoA
Wed Aug 22, 2012 11:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Linea en tprinter
Replies: 5
Views: 735

Re: Antonio ajudar com preview 1204

Please place this call before:

MsgInfo( oPrn:nVertRes() )
nRowStep = oPrn:nVertRes() / 60 // We want 60 rows

so we know the vertical resolution of the printer
by Antonio Linares
Fri Jun 22, 2012 8:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Antonio ajudar com preview 1204 (RESOLVIDO)
Replies: 6
Views: 1558

Re: preview com fwh1204 (tprint)

Please place this call before:

MsgInfo( oPrn:nVertRes() )
nRowStep = oPrn:nVertRes() / 60 // We want 60 rows

so we know the vertical resolution of the printer
by Antonio Linares
Fri Jun 22, 2012 8:43 pm
 
Forum: All products support
Topic: preview com fwh1204 (RESOLVIDO)
Replies: 10
Views: 9156

Re: preview com fwh1204 (tprint)

Por favor cambia esta línea y comprueba el resultado:

nRowStep = oPrn:nVertRes() / 60

cambia 60 por 50, ó 40, y veamos como afecta al resultado
by Antonio Linares
Fri Jun 22, 2012 2:15 pm
 
Forum: All products support
Topic: preview com fwh1204 (RESOLVIDO)
Replies: 10
Views: 9156

Re: Ayuda con TPRINTER

... Memoread Testprn5.prg por testxbr3.prg que es mas grande. local oPrn, cText := MemoRead( "testxbr3.prg" ), n := 0,nlines,nRow:= 0 local nRowStep, oFont PRINTER oPrn PREVIEW DEFINE FONT oFont NAME "Courier New" SIZE 0, -10 OF oPrn nRowStep = oPrn:nVertRes() / 40 PAGE IF !Empty(cText) ...
by Ramon Paredes
Mon Oct 10, 2011 6:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con TPRINTER
Replies: 9
Views: 2397

Re: Ayuda con TPRINTER

... cambie en el Memoread Testprn5.prg por testxbr3.prg que es mas grande. local oPrn, cText := MemoRead( "testxbr3.prg" ), n := 0 local nRowStep, oFont PRINTER oPrn PREVIEW DEFINE FONT oFont NAME "Courier New" SIZE 0, -10 OF oPrn nRowStep = oPrn:nVertRes() / 40 PAGE while n ...
by Ramon Paredes
Mon Oct 10, 2011 3:51 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con TPRINTER
Replies: 9
Views: 2397

Re: Poner hoja 1 de N en tprinter

... //vertical DEFINE FONT oFont1 NAME "Arial" SIZE 0, -08 OF oPrn BOLD DEFINE FONT oFont2 NAME "Arial" SIZE 0, -10 OF oPrn nRowStep := oPrn:nVertRes() / 66 // LINEAS nColStep := oPrn:nHorzRes() / 80 // COLUMNAS While !eof() PAGE nRow:=nRowStep*8 oPrn:Say( nRow, nColCentro, ...
by FranciscoA
Wed Oct 13, 2010 2:47 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Poner hoja 1 de N en tprinter
Replies: 4
Views: 961

Re: Tamaño de papel de Las impresoras en Windows

... nAnchPapel, nAltoPapel ) PRINT oPrn NAME "Factura" oPrn:SetPortrait() DEFINE FONT oFont NAME "Arial" SIZE 0, -10 OF oPrn nRowStep := oPrn:nVertRes() / nLinHoja //60 // LINEAS nColStep := oPrn:nHorzRes() / 70 // COLUMNAS Saludos
by FranciscoA
Wed Sep 22, 2010 12:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tamaño de papel de Las impresoras en Windows
Replies: 2
Views: 654

Re: Poner hoja 1 de N en tprinter

... esta función que encontré por acá. //NUMERAR PAGINAS CON TPRINTER //--------------------------------------------- Function NumeraPag(oPrn,oFont,nRowStep,nColStep) Local x Local nPaginas := Len( oPrn:aMeta ) Local aFicheros := oPrn:aMeta Local nCol := 70*nColStep Local nLin := 64*nRowStep if ...
by FranciscoA
Wed Sep 15, 2010 5:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Poner hoja 1 de N en tprinter
Replies: 4
Views: 961

Re: Juan Planelles Lazaga

... := .t., n, nFont, aText, cLinea, cIni, nIni local cTx2, cMemo := MemoRead( CFGAYUDA ), nWidth, nWidMemo local nLenFonts := Len( oGet:aFonts ), nRowStep local aFonts := Array( nLenFonts ), nLen, nChar, cEdit, cTc, cT local cLineText, bEvalWidt, cTextForm := oGet:GetTextLine( oLine ) local aVar ...
by Juan Planelles
Tue Dec 29, 2009 10:39 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Juan Planelles Lazaga
Replies: 9
Views: 6758

Re: Juan Planelles Lazaga

... nAncho, nCar, nC, cTx2, cVal := "" local nRow := 0, nRowNw := 0 local nCol := 0, nI := 0 local nWidth //, oLin := oGet:oLineInit local nRowStep local oLine := oGet:oLineInit local cText, cMemo := MemoRead( CFGAYUDA ), nWEdit := Eval({|| oGet:nWidth }) local oFontW, nFont, oFont2, nMargend ...
by Juan Planelles
Tue Dec 29, 2009 10:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Juan Planelles Lazaga
Replies: 9
Views: 6758

Re: Juan Planelles Lazaga

... nAncho, nCar, nC, cTx2, cVal := "" local nRow := 0, nRowNw := 0 local nCol := 0, nI := 0 local nWidth //, oLin := oGet:oLineInit local nRowStep local oLine := oGet:oLineInit local cText, cMemo := MemoRead( CFGAYUDA ), nWEdit := Eval({|| oGet:nWidth }) local oFontW, nFont, oFont2, nMargend ...
by Juan Planelles
Sun Dec 27, 2009 5:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Juan Planelles Lazaga
Replies: 9
Views: 6758
Next

Return to advanced search