Search found 19 matches: nlogpixely

Return to advanced search

Re: Font sizing for printout.

... 420,winspool,LPT1: oPrn:nHorzRes(): 2400 [2400/300 dpi = 8 inches] oPrn:nVertRes(): 3025 [3025/300 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 ...
by James Bott
Tue Jun 23, 2020 12:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Font sizing for printout.
Replies: 3
Views: 767

Re: Preview en Terminal Server no pinta bien

Intente asi con nLogPixely(), funciona perfecto en cualcue impresora o Windows. O muestre como estais haciendo en tu preview.       //- Como Imprimir em Centimetros sem errar e em qualquer Impressora      ...
by karinha
Mon Feb 10, 2020 1:38 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Preview en Terminal Server no pinta bien
Replies: 11
Views: 2357

Re: imprimir etiqueta en zebra GC420t

... oFont name 'ARIAL' size 0, -12 of oPr define font oFont1 name 'ARIAL' size 0, -10 of oPr rescoluna:=oPrinter:nlogpixelx()/2.54 reslinha:=oPrinter:nlogpixely()/2.54 *if msgyesno ("Imprime Codigo de trazabilidad ","Trazabilidad Compras") store 12->descripcio to Xdetalle store ...
by devwin2010
Thu Apr 12, 2018 1:38 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: imprimir etiqueta en zebra GC420t
Replies: 4
Views: 1169

Re: Report Margins

... perhaps I found a solution oPrinter := TPrinter():New( ...... ) nLogPixX := oPrinter:nLogPixelX() / 2.54 ( centimetres) nLogPixY := oPrinter:nLogPixelY() / 2.54 nLeftMargin := Int( nLogPixX * 0.5 ) nRightMargin := Int( nLogPixX * 0.5 ) nTopMargin := Int( nLogPixY * 0.5 ) nDnMargin := Int( ...
by Silvio.Falconi
Mon Jan 01, 2018 6:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Report Margins
Replies: 24
Views: 3221

Re: Decidir si Font es Bold o no

... poco la clase, me doy cuenta que existe la Data que mencionas. Lo que me extraña es que por qué no funciona. De la misma classe fué que tomé oPrn:nLogPixelY() / 72 , ya que sin esto las letras aparecían extremadamente diminutas. Muchas gracias por tu interés y tiempo. Saludos.
by FranciscoA
Fri Dec 02, 2016 2:55 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Decidir si Font es Bold o no
Replies: 9
Views: 1653

Re: TPrinter recent methods PrintImage() and SayText()

... He has been taken of the code : METHOD Pix2Cmtr( nRow, nCol ) INLINE ; ( nRow := ( nRow * 25.4 / ::nLogPixelX() ) / 10,; nCol := ( nCol * 25.4 / ::nLogPixelY() ) / 10,; { nRow, nCol } ) Here not oPrn:yOffSet ...
by mastintin
Wed May 04, 2016 10:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TPrinter recent methods PrintImage() and SayText()
Replies: 19
Views: 4199

Calculo de nLogPixY en TReport

... 7 lineas (impresora Laser) Epson LX300+: 8 lineas (impresora matricial) La relacion del valor de nLogPixY por impresora (obtenido con oRpt:oDevice:nLogPixelY()) es: PDFCreator: 600 (estandar definido por windows) Canon IP1700: 600 (estandar definido por windows) Canon LPB300: 600 (estandar definido ...
by RSalazarU
Mon Jun 16, 2014 12:16 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Calculo de nLogPixY en TReport
Replies: 2
Views: 492

Re: TReport samples

... using oRepo:bStartRecord := { || oRepo:separator() } ( test version 2 ) it works. oRepo:bStartRecord := { || oRepo:box( oRepo:nRow / oRepo:oDevice:nLogPixelY, oRepo:nMargin/oRepo:oDevice:nLogPixelX, ( oRepo:nRow + oRepo:nStdLineHeight) / oRepo:oDevice:nLogPixelY, RightMargin( oRepo ) / oRepo:oDevice:nLogPixelX ...
by mosh1
Mon Apr 29, 2013 9:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TReport samples
Replies: 30
Views: 4628

Re: TReport samples

... using oRepo:bStartRecord := { || oRepo:separator() } ( test version 2 ) it works. oRepo:bStartRecord := { || oRepo:box( oRepo:nRow / oRepo:oDevice:nLogPixelY, oRepo:nMargin/oRepo:oDevice:nLogPixelX, ( oRepo:nRow + oRepo:nStdLineHeight) / oRepo:oDevice:nLogPixelY, RightMargin( oRepo ) / oRepo:oDevice:nLogPixelX ...
by ADutheil
Mon Apr 29, 2013 8:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TReport samples
Replies: 30
Views: 4628

Fuentes con Office

... NIL  Intento asignarle un FONT a oWord con: DEFINE FONT oFont NAME "Arial" SIZE 0,-9 OF oWord Pero me sale el error: TOLEAUTO:NLOGPIXELY que, según parece, donde realmente ocurre es durante la creación del objeto TFONT cuando intenta hacer: if oDevice !nil   ::nImpHeight = ...
by antolin
Mon Nov 07, 2011 12:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Fuentes con Office
Replies: 9
Views: 2445

Re: Paper size problems

... pixels per inch from oPrinter. Try this: nPWid:= 4 // in inches nPHgt:= 6 // in inches oPrinter:SetSize( oPrinter:nLogPixelx() * nPWid, oPrinter:nLogPixely() * nPHgt ) James
by James Bott
Fri Apr 23, 2010 6:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Paper size problems
Replies: 9
Views: 2437

Re: TPrinter Sample

... 0,-12 of oPrn define font oFont1 name "Courier New" size 0,-10 of oPrn oFont:Activate(oPrn:hDC) oFont1:Activate(oPrn:hDC) nRd := oPrn:nLogPixelY/6 nCd := oPrn:nLogPixelX/10 nCd1 := oPrn:nLogPixelX/15 lDate := FALSE oInvc:Select() oInvc:SetOrder('CODE') oInvc:Top() cCode := oInvc:code ...
by Colin Haig
Thu Oct 22, 2009 10:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TPrinter Sample
Replies: 2
Views: 708

Re: Problem in alligning say in report

... the actual distances. These print device properties return the pixels per inch: oRpt:oPrn:nLogPixelx(): 300 pixels per inch horizontal oRpt:oPrn:nLogPixely(): 300 pixels per inch vertical So, if you are doing nRow + 100 (pixels) that is 100/300 or 1/3 of an vertical inch. 1/3 = 0.33333. Therefore, ...
by James Bott
Sat Sep 12, 2009 6:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem in alligning say in report
Replies: 6
Views: 998

... a oDevice: ::nWidth := ::oDevice:nHorzRes() ::nHeight := ::oDevice:nVertRes() ::nLogPixX := ::oDevice:nLogPixelX() ::nLogPixY := ::oDevice:nLogPixelY()
by Antonio Linares
Tue Jan 15, 2008 7:33 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Sobre TReport e Imagenes Impresas
Replies: 7
Views: 2232

Problema con PRINT

... La fuente que utilizo es PRINT oPrn PREVIEW DEFINE FONT oFont2 NAME "LUCIDA CONSOLE" SIZE 10, 9 OF oPrn oPrn:Setup() oPrn:nLogPixelX(tc101) oPrn:nLogPixelY(tc102) oPrn:SetPage(256) oPrn:SetSize(2970,2100) store oPrn:nVertRes()/70 to col store oPrn:nHorzRes()/tc103 to fiz1 Tc101, tc102 y tc103 ...
by colthop
Sun Jul 01, 2007 11:04 am
 
Forum: FiveWin para CA-Clipper
Topic: Problema con PRINT
Replies: 1
Views: 817
Next

Return to advanced search