karinha wrote:Si todav铆a recuerdo esto:
REVISE SU C脫DIGO, DEBE TENER UN BUCLE ETERNO DENTRO DE LA P脕GINA ... STARTPAGE, O DUPLICAR ENDPAGE.
o llamando a ENDPRINT sin terminar con EndPage () (abri贸 una p谩gina con StartPage () y no se cerr贸 con EndPage (), llamado ENDPRINT directamente).
//
If I still remember this:
REVIEW YOUR CODE, IT MUST HAVE AN ETERNAL LOOPING WITHIN STARTPAGE... ENDPAGE, OR DUPLICATE ENDPAGE.
or calling ENDPRINT without ending with EndPage() (opened a page with StartPage() and not closed with EndPage(), called ENDPRINT directly).
Sorry,
I have this structure
PRINT oPrn PREVIEW TITLE cTitle //FROM USER
DEFINE FONT oFn1 NAME "ARIAL" SIZE 0,- 8 OF oPrn
DEFINE FONT oFn2 NAME "ARIAL" SIZE 0,- 8 BOLD OF oPrn
DEFINE FONT oFn3 NAME "ARIAL" SIZE 0,-11 BOLD OF oPrn
DEFINE FONT oFn4 NAME "ARIAL" SIZE 0,-16 BOLD OF oPrn
oPrn:lPrvModal:=.f.
oPrn:SetLandscape()
CursorWait()
// Page 1
PageBegin()
//here oPrn boxes and cmsay
endpage
// Page 2
PageBegin()
//here oPrn boxes and cmsay
endpage
oFn1:End(); oFn2:End(); oFn3:End();oFn4:End()
endPrint
RETURN NIL
What is wrong ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com