Search found 20 matches: nvertsize

Return to advanced search

Re: Font sizing for printout.

... dpi = 10.1 inches] oPrn:nLogPixelx(): 300 oPrn:nLogPixely(): 300 oPrn:nXOffset: 75 oPrn:nYOffset: 75 oPrn:nHorzSize() : 203 mm = 8.0 in oPrn:nVertSize() : 256 mm = 10.1 in oPrn:GetPhySize()[1]: 215.900 [ 215.9 mm / 25.4 = 8.5 in ] oPrn:GetPhySize()[2]: 279.400 [ 279.4 mm / 25.4 = 11 in ] ...
by James Bott
Tue Jun 23, 2020 12:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Font sizing for printout.
Replies: 3
Views: 751

Re: Report Margins

... - rightmargins) But How I can found these parameters from Device (oPrinter) directly ? I try with : nLinI := 0.5 nColI := 0.5 nLinF := oPrinter:nVertSize() / 10 - 0.5 nColF := oPrinter:nHorzSize() / 10 - 0.5 but this is right ???
by Silvio.Falconi
Mon Jan 01, 2018 11:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Report Margins
Replies: 24
Views: 3151

Re: Felices reyes!

Hola,

METHOD nVertSize()
METHOD nHorzSize()

Ambos te dan el tamaño en pixeles, por lo que si quieres las medidas en mm harias oPrn:nVertSize() * 25.4 / 72 , oPrn:nHorzSize() * 25.4 / 72
by Carlos Mora
Mon May 22, 2017 4:39 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Felices reyes!
Replies: 60
Views: 19109

Re: Printing an image.

... ( pixel ) to center the images doesn*t work for any reason and I had to use fixed tested values. nRow = Max( 0, ( nRow * ::nVertRes() / (::nVertSize() / 25.4 ))-::nYoffset ) nCol = Max( 0, ( nCol * ::nHorzRes() / (::nHorzSize() / 25.4 ))-::nXoffset ) I will check : // SizeInch2Pix is for ...
by ukoenig
Wed Sep 07, 2016 5:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printing an image.
Replies: 18
Views: 5606

Re: Calculo de nLogPixY en TReport

... brother hl-5350Dn . El problema esta aquí ( en mi caso , codigo en rprinter.prg )          //  nAspect        := ::oDevice:nHorzSize() / ::oDevice:nVertSize()  No sé si es un bug pero a mi no me detecta bien los valores ::odevice:nVertSize() , ::oDevice:nHorzSize() por lo que naspect no es correcto ...
by mastintin
Mon Jun 16, 2014 8:18 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Calculo de nLogPixY en TReport
Replies: 2
Views: 485

Re: MyRpt - Diseñador de Reportings - En desarrollo :-)

... ) nLeft := Max( 0, apos[2] + ::oprn:nYOffset ) nWidth := oItem:nWidth nHeight := Max( 0, ( oItem:nHeight * ::oPrn:nVertRes() / ::oPrn:nVertSize() ) ) on METHOD PrintSay( oItem ) CLASS RptRun Why I not thinked it about before ? Seba,....Do You have a solution to create labels with MyRpt
by Silvio.Falconi
Sat Feb 22, 2014 10:05 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: MyRpt - Diseñador de Reportings - En desarrollo :-)
Replies: 132
Views: 36008

Re: Error (6) Creating Enhanced Metafile

Otto, Günther, thanks a lot for your help!!! I've solved the problem. After changing the printer sometimes oPrn:nVertRes(), oPrn:nHorzRes(), oPrn:nVertSize(), oPrn:nHorzSize() were 0 and that lead to a place in my source code, where an out-of-date printer handle was used again. No I make a new ...
by gkuhnert
Mon Dec 13, 2010 4:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error (6) Creating Enhanced Metafile
Replies: 6
Views: 1168

Re: What's the right technique using oPrn:SayBitmap()?

Hua,

Maybe these are what you need.

nHeightPixels := Max( 0, ( nHeightInches * oPrn:nVertRes() / (oPrn:nVertSize() / 25.4 )) )
nWidthPixels := Max( 0, ( nWidthInches * oPrn:nHorzRes() / (oPrn:nHorzSize() / 25.4 )) )

Regards,
James
by James Bott
Tue Jan 26, 2010 6:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: What's the right technique using oPrn:SayBitmap()?
Replies: 16
Views: 4362

Re: preview alpha 2

... ) return nil endif do case case ! ::lTwoPages if ! ::lZoom if ::oDevice:nHorzSize() >= ; // landscape (apaisado) // DEVICE ::oDevice:nVertSize() nFactor := .8 // .4 else nFactor := .40 // .25 endif else nFactor := .47 endif if ::oWnd != nil nWidth = ::oWnd:nWidth() - If( ::lZoom, ...
by dobfivewin
Thu Jan 14, 2010 10:08 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: preview alpha 2
Replies: 2
Views: 2033

Re: Juan Planelles Lazaga

... cFileName ) nZoom:=oBmp:Zoom() anchura:=oBmp:nWidth()*nZoom altura :=oBmp:nHeight()*nZoom nRatAncho := 3.80 nRatAlto := 3.80 nXr := nXR/oPrn:nVertSize() // se crea asi factor de normalizacion nXC := nXC/oPrn:nHorzSize() // p q funcione igual en otras impresoras nX := oPrn:nVertRes()/oPrn:nHorzRes() ...
by Juan Planelles
Tue Dec 29, 2009 10:39 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Juan Planelles Lazaga
Replies: 9
Views: 6735

Re: GetPrintDC()

... nMetaWidth if IsIconic(oWnd:hWnd) RETU nil endif DO case case ! lTwoPages if ! lZoom if DEVICE:nHorzSize() >= ; // landscape (apaisado) DEVICE:nVertSize() nFactor := .8 // .4 else nFactor := .40 // .25 endif else nFactor := .47 endif nWidth = oWnd:nWidth() - If( lZoom, 20, 0 ) nHeight = oWnd:nHeight() ...
by jbrita
Tue Nov 24, 2009 11:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GetPrintDC()
Replies: 4
Views: 2707

COMO IMPRIMO UN CODIGO DE BARRA EN UN DIALOGO

... :=15// 1.5 // Cmm. define brush oBr color nColor // Width of Bar if !lHorz nWidth :=round ( nWidth ,0 ) //* 10 ,0 )//* oPrint:nVertRes() / oPrint:nVertSize() ,0 ) else nWidth :=round ( nWidth ,0 ) //* 10 ,0 )//* oPrint:nHorzRes() / oPrint:nHorzSize(), 0 ) end // Len of bar if lHorz nLen :=round ...
by Vladimir Zorrilla
Fri Jun 05, 2009 9:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: COMO IMPRIMO UN CODIGO DE BARRA EN UN DIALOGO
Replies: 2
Views: 1279

... nMetaWidth if IsIconic(oWnd:hWnd) RETU nil endif DO case case ! lTwoPages if ! lZoom if DEVICE:nHorzSize() >= ; // landscape (apaisado) DEVICE:nVertSize() nFactor := .8 // .4 else nFactor := .40 // .25 endif else nFactor := .47 endif nWidth = oWnd:nWidth() - If( lZoom, 20, 0 ) nHeight = oWnd:nHeight() ...
by Manuel Valdenebro
Thu Feb 28, 2008 4:30 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: RPREVIEW modificada por Manuel Valdenebro ?
Replies: 8
Views: 3361

Re: Clase TUtilPrn

... ValType( ::ArraJuva[1][1][1] ) = "O" /* Se restaura el fin del área de impresión. ---------------------------------------*/ ::nEndLine := ::oPrn:nVertSiZe() / 10 - 1 // En Cms /* Se imprime los datos el vencimiento. ----------------------------------*/ UTILPRN ::oUtil 24.7, 2 SAY "Data i import ...
by FiveWiDi
Mon Feb 18, 2008 7:51 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Impresion de informes (L&L, PDF, Access, ...)?
Replies: 8
Views: 3607

I think that this means that code like this from TPrinter:Cmtr2Pix() is actually wrong: nRow := Max( 0, ( nRow * 10 * ::nVertRes() / ::nVertSize() ) - ::nYoffset ) nCol := Max( 0, ( nCol * 10 * ::nHorzRes() / ::nHorzSize() ) - ::nXoffset ) Because the offset is being subtracted from the printable ...
by Enrico Maria Giordano
Sun Dec 10, 2006 8:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printer Printable Area
Replies: 16
Views: 7431
Next

Return to advanced search

cron