Search found 165 matches: odevice

Return to advanced search

Re: Problema con Encabezados de TReport

... a la Class TRcolum (RColum.prg), en los metodos SayTitle y SayData. Si te fijas bien, en el metodo SayData está esta linea: //nWidth := ::oReport:oDevice:GetTextWidth(cText, oFont) // To Review: Why is this line here? No lo he probado, pero que tal si modificas el metodo SayTitle: ... ... ::nCurLine ...
by FranciscoA
Wed Dec 30, 2015 2:48 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema con Encabezados de TReport
Replies: 8
Views: 1440

Re: Control Botón de Impresión

... PrintPage() CLASS TPreview local hMeta := ::oMeta1:hMeta local oDlg, oRad, oPageIni, oPageEnd local nOption := 1, nFirst := 1, nLast := Len( ::oDevice:aMeta ) // DEVICE local oThis := Self local lCancel := .t. if nLast != 1 DEFINE DIALOG oDlg SIZE 400, 183 TITLE FWString( "Printing" ...
by luisduque
Thu Sep 10, 2015 7:24 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Control Botón de Impresión
Replies: 8
Views: 1497

Re: REPORT class - Group Totals Only??

... RESOURCE> <cResName> ] ; [ <toPrint: TO PRINTER> ] ; [ <toScreen: PREVIEW> ] ; [ TO FILE <(toFile)> ] ; [ TO DEVICE <oDevice> ] ; [ CAPTION <cName> ]
by cnavarro
Sun Aug 30, 2015 11:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: REPORT class - Group Totals Only??
Replies: 2
Views: 481

oReport

To all,

since I use the most current version of FW I get randomly white pages in oReport.
As a workaround I shorted the page height in the new method.
Does someone else notice this behavior.
Best regards,
otto


new - method

::nHeight := ::oDevice:nVertRes() - 60 //OTTO
by Otto
Thu Jul 16, 2015 4:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: oReport
Replies: 0
Views: 343

Report landscape

can I determine if the report is landscape or Portrait ?
I saw there is not the variable logic as lportrait or lLandscape
Any Idea ?
I must change a text if the ::odevice if landscape
by Silvio.Falconi
Tue Apr 07, 2015 7:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Report landscape
Replies: 2
Views: 492

Rpreview.prg

... PRINTDIALOG IIF( lPreview, .F., .F. )  Although I pass cPrinter rPreview for me is always printing to the standard printer. Somehow oDevice:hDC is the hDC from the standard printer. As a quick solution to go ahead with our yearly updates I use this fix. Best regards, Otto METHOD ...
by Otto
Mon Jan 05, 2015 4:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Rpreview.prg
Replies: 7
Views: 1311

Re: Perdida recurso en Preview

A ver,

Esto no puede funcionar bien:

::oImageListPages:Add( aBmp[n] )

Porque se espera un objeto bitmap

Sigo sin ver la relación con el oDevice que ya no se destruye en el VALID, y menos con el brush :-S
by Antonio Linares
Tue Dec 16, 2014 5:46 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Perdida recurso en Preview
Replies: 18
Views: 3673

Re: Preview

I tried with oPrn and it make error

oPrn:oDevice:lPrvModal := .T.
oPrn:oDevice:SetPage(9)

then I tried with

oPrn:lPrvModal := .T. also with .f.
oPrn:SetPage(9)

but the dialog is allways on desktop
Image
by Silvio.Falconi
Tue Dec 02, 2014 7:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preview
Replies: 4
Views: 911

Re: Calculo de nLogPixY en TReport

... una impresora concreta : una 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() ...
by mastintin
Mon Jun 16, 2014 8:18 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Calculo de nLogPixY en TReport
Replies: 2
Views: 507

Calculo de nLogPixY en TReport

... LPB300: 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 ...
by RSalazarU
Mon Jun 16, 2014 12:16 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Calculo de nLogPixY en TReport
Replies: 2
Views: 507

de Vertical a Horizontal, treport

Saludos

Inicio con el uso de la clase treport

Tengo la duda de como cambiar tanto los tamaños de la hoja (impresion) como la orientacion de la hoja, de vertical a horizontal.


Resvisando el report.prg, me encuentro esto solamente:

::oDevice:SetLandScape()

Gracias.
by noe aburto
Sat May 24, 2014 7:07 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: de Vertical a Horizontal, treport
Replies: 1
Views: 513

Confusion con bInit, tprinter o rpreview

... esta definido el bInit, que debo hacer para que mi exportacion a excel desde el preview funcione. Modifico la clase rpreview: function RPreview( oDevice, oReport ) local oPreview := TPreview():New( oDevice ) oPreview:oReport := oReport oPreview:oReport:bInit:={||.t.} // AGREGO ESTA LINEA Y ME ...
by noe aburto
Thu Apr 24, 2014 6:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Confusion con bInit, tprinter o rpreview
Replies: 3
Views: 574

Re: Antonio: "BUG" in TPrinter

... function should also inserted a sysrefresh(). Then i can produce hundreds of pages without Problems! 2. In FWSavePreviwToPDF() before returning oDevice:end() BUT only, when not called from TPreview as the preview deletes the EMFs!!
by byte-one
Wed Jan 22, 2014 8:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Antonio: "BUG" in TPrinter
Replies: 14
Views: 5024

Qué significa el nuevo parámetro: oReport en rPreview

Linares,

¿Qué significa el nuevo parámetro: oReport en el fwh13.12 rPreview?

METHOD New (oDevice, oReport)

Code: Select all  Expand view

function RPreview( oDevice, oReport )

   local oPreview := TPreview():New( oDevice, oReport )

   oDevice:oPreview := oPreview

   oPreview:Activate()

return nil
 
by ORibeiro
Wed Jan 15, 2014 10:07 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Qué significa el nuevo parámetro: oReport en rPreview
Replies: 1
Views: 407

What does oReport in rpreview to the fwh13.12?

Linares,

What does oReport in rpreview to the fwh13.12?

METHOD New (oDevice, oReport)

Code: Select all  Expand view

function RPreview( oDevice, oReport )

   local oPreview := TPreview():New( oDevice, oReport )

   oDevice:oPreview := oPreview

   oPreview:Activate()

return nil
 
by ORibeiro
Mon Jan 13, 2014 1:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: What does oReport in rpreview to the fwh13.12?
Replies: 0
Views: 285
PreviousNext

Return to advanced search