diff --git a/m770/77stq.cpp b/m770/77stq.cpp index 71ef0f724..d7234dd61 100755 --- a/m770/77stq.cpp +++ b/m770/77stq.cpp @@ -61,7 +61,7 @@ TDicForm::TDicForm(const char* form, const char* quadro) { _can_print_tot_fis = _can_print_tot_nofis = FALSE; _GiaStampatiFis = _GiaStampatiNoFis = _GiaMessoStartDoc = FALSE; - _GiaPosizionato = _posiziona= _modulaser = FALSE; + _GiaPosizionato = _posiziona = _modulaser = FALSE; _LastDitta = _EndPrintDitta = _PaginaPosizionamento = FALSE; ClearFlagModulaser(); } @@ -97,13 +97,13 @@ bool TDicForm::InitPrint(const long codditta) } const bool was_open = pr.isopen(); - if (!was_open && !pr.open()) - return FALSE; set_last_page(FALSE); // set_background(1, TRUE); set_curr_page(PRIMA); + if (!was_open && !pr.open()) + return FALSE; do_events(); _Items = filtra(codditta); @@ -639,7 +639,8 @@ void TDicForm::stampa_testata(TPrinter& pr) r.reset(); HEADER_PRIMA_NOPOS--; } - if (!PaginaPosizionamento()) fill_page(pr, HEADER_PRIMA_NOPOS); + if (!PaginaPosizionamento()) + fill_page(pr, HEADER_PRIMA_NOPOS); } else {