Search found 105 matches: nhorzres

Return to advanced search

Re: No logro definir tamaño de papel

... como ejemplo A5 Tambien lo probre con una comandera SAM4S GIANT-100 y tambien con una Brother HL-1200 Con cualquiera que pruebe los comandos oPrn:nHorzRes() y oPrn:nVertRes() me devuelven los valores que tiene la impresora predeterminada que no tiene nada que ver con el pdf que quiero generar ...
by jpcavagnaro
Mon Aug 12, 2024 7:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: No logro definir tamaño de papel
Replies: 19
Views: 3217

Re: No logro definir tamaño de papel

... así: TPrinter():lUseHaruPDF := .f. PRINT oPrn PREVIEW FILE "jorge.pdf" oPrn:setpage( 9 ) // tama¤o de papel A4 publ xAncho := ( ( oPrn:nHorzRes() / 25.4 ) / 10 ) //-1 publ xAltocm := ( ( oPrn:nVertRes() / 25.4 ) / 10 ) // -1.5 ? xaltocm, xancho los valores que muestra xAncho y xAltocm ...
by jpcavagnaro
Mon Aug 12, 2024 2:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: No logro definir tamaño de papel
Replies: 19
Views: 3217

Re: CODIGO DE BARRAS. ERROR CON FILLRECT()

... // Width of Bar if !lHorz nWidth :=round ( nWidth * 10 * oPrint:nVertRes() / oPrint:nVertSize() ,0 ) else nWidth :=round ( nWidth * 10 * oPrint:nHorzRes() / oPrint:nHorzSize(), 0 ) end // Len of bar if lHorz nLen :=round ( nLen * 10 * oPrint:nVertRes() / oPrint:nVertSize() ,0 ) else nLen :=round ...
by pedroluis
Sun May 12, 2024 8:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CODIGO DE BARRAS. ERROR CON FILLRECT()
Replies: 31
Views: 3465

Re: CODIGO DE BARRAS. ERROR CON FILLRECT()

... // Width of Bar if !lHorz nWidth :=round ( nWidth * 10 * oPrint:nVertRes() / oPrint:nVertSize() ,0 ) else nWidth :=round ( nWidth * 10 * oPrint:nHorzRes() / oPrint:nHorzSize(), 0 ) end // Len of bar if lHorz nLen :=round ( nLen * 10 * oPrint:nVertRes() / oPrint:nVertSize() ,0 ) else nLen :=round ...
by pedroluis
Fri May 10, 2024 9:34 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CODIGO DE BARRAS. ERROR CON FILLRECT()
Replies: 31
Views: 3465

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: 4104

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: 4104

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: 4104

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: 1287

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: 1685

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: 3143

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: 4998

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: 2825

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: 906

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: 1828

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: 672
Next

Return to advanced search