Corretto veramente MI6140, relativo al salto di una riga in piu'
in corrispondenza del salto pagina. L'errore MI2254, e' stato corretto in isam.cpp, nella TRectype::put_str(), relativamente al settaggio del campo MOV_REGST. git-svn-id: svn://10.65.10.50/trunk@3999 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
a6c7cc383a
commit
431d1ca8c0
@ -10,6 +10,8 @@ static TString256 TMP;
|
|||||||
|
|
||||||
inline CG4400_application& app() { return (CG4400_application&)main_app(); }
|
inline CG4400_application& app() { return (CG4400_application&)main_app(); }
|
||||||
|
|
||||||
|
#define RIGHE_FOOTER 1 // Righe da saltare nel footer per evitare di scrivere sulla perforazione
|
||||||
|
|
||||||
bool CG4400_application::filter_func (const TRelation * r)
|
bool CG4400_application::filter_func (const TRelation * r)
|
||||||
{
|
{
|
||||||
TLocalisamfile& mov = r->lfile(LF_MOV);
|
TLocalisamfile& mov = r->lfile(LF_MOV);
|
||||||
@ -2083,6 +2085,7 @@ bool CG4400_application::preprocess_page(int file, int counter)
|
|||||||
//printer().footerlen(0);
|
//printer().footerlen(0);
|
||||||
if (!_mov_empty) printer().formfeed();
|
if (!_mov_empty) printer().formfeed();
|
||||||
merge_export_file(t,FALSE,TRUE);
|
merge_export_file(t,FALSE,TRUE);
|
||||||
|
//printer().footerlen(RIGHE_FOOTER);
|
||||||
_intesta_liq = FALSE;
|
_intesta_liq = FALSE;
|
||||||
reset_print();
|
reset_print();
|
||||||
remove(t);
|
remove(t);
|
||||||
@ -2356,6 +2359,7 @@ print_action CG4400_application::postprocess_page (int file, int counter)
|
|||||||
_intesta_liq = TRUE;
|
_intesta_liq = TRUE;
|
||||||
//printer().footerlen(0);
|
//printer().footerlen(0);
|
||||||
merge_export_file(_t,FALSE,TRUE);
|
merge_export_file(_t,FALSE,TRUE);
|
||||||
|
//printer().footerlen(RIGHE_FOOTER);
|
||||||
_intesta_liq = FALSE;
|
_intesta_liq = FALSE;
|
||||||
remove(_t);
|
remove(_t);
|
||||||
}
|
}
|
||||||
@ -2685,6 +2689,7 @@ void CG4400_application::liq_b0_settato()
|
|||||||
_intesta_liq = TRUE;
|
_intesta_liq = TRUE;
|
||||||
//printer().footerlen(0);
|
//printer().footerlen(0);
|
||||||
merge_export_file(f,FALSE,TRUE);
|
merge_export_file(f,FALSE,TRUE);
|
||||||
|
//printer().footerlen(RIGHE_FOOTER);
|
||||||
_intesta_liq = FALSE;
|
_intesta_liq = FALSE;
|
||||||
remove(f);
|
remove(f);
|
||||||
}
|
}
|
||||||
@ -3141,6 +3146,7 @@ void CG4400_application::no_movimenti()
|
|||||||
//printer().footerlen(0);
|
//printer().footerlen(0);
|
||||||
merge_export_file(f,FALSE,TRUE);
|
merge_export_file(f,FALSE,TRUE);
|
||||||
printer().formfeed();
|
printer().formfeed();
|
||||||
|
//printer().footerlen(RIGHE_FOOTER);
|
||||||
_intesta_liq = FALSE;
|
_intesta_liq = FALSE;
|
||||||
remove(f);
|
remove(f);
|
||||||
}
|
}
|
||||||
@ -3197,6 +3203,7 @@ void CG4400_application::stampa_liq_mesi_succ()
|
|||||||
printer().formfeed();
|
printer().formfeed();
|
||||||
//printer().footerlen(0);
|
//printer().footerlen(0);
|
||||||
merge_export_file(t,FALSE,TRUE);
|
merge_export_file(t,FALSE,TRUE);
|
||||||
|
//printer().footerlen(RIGHE_FOOTER);
|
||||||
_intesta_liq = FALSE;
|
_intesta_liq = FALSE;
|
||||||
remove(t);
|
remove(t);
|
||||||
}
|
}
|
||||||
@ -3227,7 +3234,7 @@ void CG4400_application::send_message(char tipo, const TFilename& nome, int mese
|
|||||||
if (_riep_liq)
|
if (_riep_liq)
|
||||||
ss.add('X');
|
ss.add('X');
|
||||||
else ss.add(' ');
|
else ss.add(' ');
|
||||||
ss.add(_size_header);
|
ss.add(_size_header+RIGHE_FOOTER);
|
||||||
|
|
||||||
TMessage liq (app, "RCL", ss);
|
TMessage liq (app, "RCL", ss);
|
||||||
liq.send();
|
liq.send();
|
||||||
@ -3273,7 +3280,7 @@ bool CG4400_application::set_print(int n)
|
|||||||
else _stampa_width = 198;
|
else _stampa_width = 198;
|
||||||
if (_stampa_len != 0)
|
if (_stampa_len != 0)
|
||||||
printer().formlen(_stampa_len);
|
printer().formlen(_stampa_len);
|
||||||
printer().footerlen(1);
|
printer().footerlen(RIGHE_FOOTER);
|
||||||
//Se stampa di prova l'utente indica data_da e data_a
|
//Se stampa di prova l'utente indica data_da e data_a
|
||||||
if (_tipo_stampa == 1)
|
if (_tipo_stampa == 1)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user