Adjunto ejemplo
#include 'fivewin.ch'
STATIC oWnd
*--------------
FUNCTION Main()
*--------------
LOCAL oBar, oBtn, oBtnRpt, oMenu, oRptDsg
DEFINE WINDOW oWnd TITLE 'Version: ' + FWVERSION
DEFINE BUTTONBAR oBar SIZE 30, 30 _3D OF oWnd
DEFINE BUTTON oBtn OF oBar NAME '' ACTION Test_Prn()
ACTIVATE WINDOW oWnd
RETU NIL
*-------------------------
STATIC FUNCTION Test_Prn()
*-------------------------
LOCAL oPrn := PrintBegin( 'test' , .F., .T.,, .f., .f. )
PAGE
oPrn:Say( 20, 20, "This 1 is a test in Landscape" )
ENDPAGE
PAGE
oPrn:Say( 20, 20, "This 2 is a test in Landscape" )
ENDPAGE
PAGE
oPrn:Say( 20, 20, "This 3 is a test in Landscape" )
ENDPAGE
ENDPRINT
RETU NILCuando ejecuto el preview y lo cierro (quizas lo deba hacer mas de una vez ...) la barra de botones aparece negra, como si perdiera algun brush, recurso... Alguien le ha pasado y ha encontrado una solución ?
Antes de ejecutar preview ...

Despues de cerrar el preview...

"...programar es fácil, hacer programas es difícil..."
UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
HIX -> https://github.com/carles9000/hix