Correzione errori
git-svn-id: svn://10.65.10.50/trunk@3644 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
cbf0aa9d4e
commit
c6e0068a17
@ -61,7 +61,7 @@ TDicForm::TDicForm(const char* form, const char* quadro)
|
|||||||
{
|
{
|
||||||
_can_print_tot_fis = _can_print_tot_nofis = FALSE;
|
_can_print_tot_fis = _can_print_tot_nofis = FALSE;
|
||||||
_GiaStampatiFis = _GiaStampatiNoFis = _GiaMessoStartDoc = FALSE;
|
_GiaStampatiFis = _GiaStampatiNoFis = _GiaMessoStartDoc = FALSE;
|
||||||
_GiaPosizionato = _posiziona= _modulaser = FALSE;
|
_GiaPosizionato = _posiziona = _modulaser = FALSE;
|
||||||
_LastDitta = _EndPrintDitta = _PaginaPosizionamento = FALSE;
|
_LastDitta = _EndPrintDitta = _PaginaPosizionamento = FALSE;
|
||||||
ClearFlagModulaser();
|
ClearFlagModulaser();
|
||||||
}
|
}
|
||||||
@ -97,13 +97,13 @@ bool TDicForm::InitPrint(const long codditta)
|
|||||||
}
|
}
|
||||||
|
|
||||||
const bool was_open = pr.isopen();
|
const bool was_open = pr.isopen();
|
||||||
if (!was_open && !pr.open())
|
|
||||||
return FALSE;
|
|
||||||
|
|
||||||
set_last_page(FALSE);
|
set_last_page(FALSE);
|
||||||
// set_background(1, TRUE);
|
// set_background(1, TRUE);
|
||||||
set_curr_page(PRIMA);
|
set_curr_page(PRIMA);
|
||||||
|
|
||||||
|
if (!was_open && !pr.open())
|
||||||
|
return FALSE;
|
||||||
do_events();
|
do_events();
|
||||||
|
|
||||||
_Items = filtra(codditta);
|
_Items = filtra(codditta);
|
||||||
@ -639,7 +639,8 @@ void TDicForm::stampa_testata(TPrinter& pr)
|
|||||||
r.reset();
|
r.reset();
|
||||||
HEADER_PRIMA_NOPOS--;
|
HEADER_PRIMA_NOPOS--;
|
||||||
}
|
}
|
||||||
if (!PaginaPosizionamento()) fill_page(pr, HEADER_PRIMA_NOPOS);
|
if (!PaginaPosizionamento())
|
||||||
|
fill_page(pr, HEADER_PRIMA_NOPOS);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user