Search found 101 matches: nhorzres

Return to advanced search

Re: Resolution of monitor

seem a joke..... local nResHoriz := oWnd:nHorzRes() local nResVert := oWnd:nVertRes() where is oWnd ? I don't always have the main window where I can find the oWnd? Such a solution seems strange to me Hi Silvio, you must not take 'oWnd' but take ...
by Detlef
Wed Jan 10, 2024 5:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resolution of monitor
Replies: 29
Views: 2541

Re: Resolution of monitor

Function test(oWnd) local nResHoriz := oWnd:nHorzRes() // retorna a resolucao horizontal local nResVert := oWnd:nVertRes() // retorna a resolucao vertical ? nResHoriz,nResVert Error occurred at: 01/10/24, 09:01:40 Error description: Error BASE/1004 ...
by Silvio.Falconi
Wed Jan 10, 2024 8:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resolution of monitor
Replies: 29
Views: 2541

Re: Resolution of monitor

        nResHoriz := oWnd:nHorzRes() // retorna a resolucao horizontal        nResVert  := oWnd:nVertRes() // retorna a resolucao vertical        // complete...        IF nResHoriz     = 1440 .AND. nResVert = 900 // RESOLUTION...  ...
by Silvio.Falconi
Wed Jan 10, 2024 7:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Resolution of monitor
Replies: 29
Views: 2541

Re: Consejos sobre el uso de las clases TImprime y TUtilPrn

... <= 0 nAlto := 5 endif xCor := ::oPrinter:Cmtr2Pix( nArriba,nIzq ) yCor := ::oPrinter:Cmtr2Pix( nAncho,nAlto ) IF lPage yCor[1] := ::oPrinter:nHorzRes() - xCor[2]*2 // Restando lo mismo cms para margenes yCor[2] := ::oPrinter:nVertRes() - xCor[1]*2 // ?yCor[2],::oPrinter:nVertRes() ,xCor[1] ...
by nanoespinoza
Tue Nov 15, 2022 12:42 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consejos sobre el uso de las clases TImprime y TUtilPrn
Replies: 9
Views: 913

Unattended creation of .pdf . resolution problem -- RESOLVED

... 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 in specific places within the above range .. and use font pixels to arrange the text ...
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: 1285

Imprimir imagen guardada en tabla SQL

... ImprimirFoto( oRsFoto:Fields( "Foto" ):Value ) Function ImprimirFoto(wfoto) PRINT oPrn PREVIEW MODAL PAGE oPrn:SayImage(0,0, wfoto, oPrn:nHorzRes(), oPrn:nVertRes() , nil, .t. ) ENDPAGE ENDPRINT retu .t. No da error, pero muestra una hoja en blanco. Saludos Jorge
by jpcavagnaro
Wed Dec 16, 2020 12:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Imprimir imagen guardada en tabla SQL
Replies: 11
Views: 2449

Re: Printer class question

... // Set the resolution divided by the standard 8.5x11 inch paper rows/columns nRsp := oPrn:nVertRes() / 68 // Number of rows nCsp := oPrn:nHorzRes() / 85 // Number of columns I've used these for years with success. You can even implement color if you wish. What I haven't tried (yet) is ...
by TimStone
Tue Oct 20, 2020 5:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printer class question - RESOLVED
Replies: 41
Views: 3345

Re: Creating a silent file to .pdf

... print to pdf works fine if you use the print viewer .. however, I am doing a lot in this report by using the Printer oPrint:nVertRes() and oPrint:nHorzRes() properties and placing my text on the page in relatively the same position based on what ever printer is used .. I just do not know where ...
by Rick Lipkin
Thu Sep 10, 2020 2:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating a silent file to .pdf
Replies: 18
Views: 2191

Re: Font sizing for printout.

... 12/8/2006 7:58 PM - JBott Here are two sets of data from different devices (both for 8.5x11 inch paper). Previously, I assumed that nHorzRes() was the dimension of the paper but it is the printable area of the page. All the vars refer to the printable area except for GetPhySize(). ...
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: No puedo imprimir un bitmap con printer

Hola: Sobre el ajuste del gráfico a la página, en mi caso lo he resuelto así: nhz=oprn:nHorzres()-(oprn:nHorzres()/3.0), dándole al jpg el tamaño deseado en horizontal y sin tocar el vertical. El resultado es que yo deseaba. Tengo un prblema extraño que no consigo ...
by pacotre
Fri May 29, 2020 10:14 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: No puedo imprimir un bitmap con printer
Replies: 5
Views: 1602

oPen with printer

If i define a pen with DEFINE PEN.... then the width of pen are different in methods fron tPrinter()!

oPrn:Box( nZeile+nPenw/2,nPenw/2,nNextzeile,oPrn:nHorzRes()-nPenw/2, oPen)
oPrn:line(nZeile,linksrand,nZeile,rechtsrand,oPen)
by byte-one
Thu Jan 23, 2020 2:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: oPen with printer
Replies: 5
Views: 602

Re: New FWH 19.09

... functionality. Thanks for understanding and we highly appreciate your cooperation. I make a pen with "DEFINE PEN oPen1 WIDTH max(1,(max(oPrn:nHorzRes(),oPrn:nVertRes())/1800))" Instead please use DEFINE PEN oPen WIDTH nWidth OF oPrn  // FWH1909  This will accurately translate ...
by nageswaragunupudi
Wed Oct 23, 2019 11:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 19.09
Replies: 36
Views: 5720

Re: New FWH 19.09

... as Bottom. But a other thing is the pen in oPrint:box() and oPrint:roundbox(). I make a pen with "DEFINE PEN oPen1 WIDTH max(1,(max(oPrn:nHorzRes(),oPrn:nVertRes())/1800))" with exact pixels. In the METHOD ParamPen(..) you use   case cType == "O" .AND. anoPen:IsKindOf( ...
by byte-one
Wed Oct 23, 2019 11:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 19.09
Replies: 36
Views: 5720

Re: Como Puedo Imprimir Campo Memo FPT

... DEFINE FONT oFont1 NAME "arial" SIZE 0,-12 bold OF olis DEFINE PEN oPen1 WIDTH 1 nsalto:=olis:nVertRes() / 65 // Renglones ncolum:=olis:nHorzRes() / 80 // Columnas xhoja:=0 xmarca:=0 PAGE T01001() texto1:=1->texto line_cnt:=mlcount(texto1,105) curr_line:=1 do while curr_line<=line_cnt ...
by pedroluis
Wed Mar 06, 2019 1:34 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Imprimir Campo Memo FPT AYUDA URGENTE Para Cesar Gomez
Replies: 14
Views: 2566

Re: To Rick

Francisco Yes .. I am still using this code in my programs today ... oPRINT:SAY ( LINE, (oPrint:nHorzRes()*.07), cOwner, oFONT14b ) .. the oPrint:nHorzRes() is the calculation derived from the oPrint object which is your defined printer. This calculation allows the printed ...
by Rick Lipkin
Tue Feb 05, 2019 3:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Rick
Replies: 4
Views: 803
Next

Return to advanced search