Amigos modifique el metodo hardcopy para sacar vista previa sale pagina en blanco saben por que sucede esto
METHOD HardCopy( nScale, lUser , cOrientation , cMode ) CLASS TWindow
local oPrn
DEFAULT lUser := .t.
// if lUser
// PRINT oPrn NAME ::cTitle FROM USER
// else
// PRINT oPrn NAME ::cTitle
// endif
IF cMODE="DIRECTO"
PRINT oPrn NAME ::cTitle
ELSE
PRINT oPrn NAME ::cTitle PREVIEW
ENDIF
IF cOrientation="VERTICAL"
oPrn:SetPortrait() //Vertical
ELSE
oPrn:SetLandScape() //Horizontal
ENDIF
PAGE
::Refresh()
SysRefresh() // Let Windows process
::Print( oPrn, 0, 0, nScale )
ENDPAGE
ENDPRINT
return nil
Mil gracias
por q no funciona harcopy
-
- Posts: 225
- Joined: Tue Feb 28, 2006 4:25 pm
- Location: PERU
por q no funciona harcopy
ME INTERESA FW Y XHB POR SER OPEN SOURCE
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: por q no funciona harcopy
Vladimir,
Prueba a comentar estas dos lineas:
::Refresh()
SysRefresh() // Let Windows process
Prueba a comentar estas dos lineas:
::Refresh()
SysRefresh() // Let Windows process