Patch level :10.0 1032
Files correlati : Ricompilazione Demo : [ ] Commento : sistemata (??? mah???) stampa assurda statistiche di vendita quando il numero di colonne stampabili superava le 256 git-svn-id: svn://10.65.10.50/branches/R_10_00@22297 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
373c6f352b
commit
461f0cf00f
@ -589,9 +589,12 @@ bool TStampa_stat::set_print(int i)
|
||||
if (_col_anno <= 0) _col_anno = 12; // ???
|
||||
|
||||
_numcol = _numcol_dati+ (_st_tota ? int((_numcol_dati -1)/_col_anno+1) : 0);
|
||||
// _pagewidth=POS_PRIMACOL+int((printer().formwidth()-POS_PRIMACOL)/_largcol)*_largcol;
|
||||
|
||||
_pagewidth=POS_PRIMACOL+int((printer().calc_num_cols()-POS_PRIMACOL)/_largcol)*_largcol;
|
||||
|
||||
while (_pagewidth > 256)
|
||||
_pagewidth -= _largcol;
|
||||
|
||||
// reset delle variabili per la gestione di gruppi ai vari livelli
|
||||
_colpage=1;
|
||||
_last_page=0;
|
||||
@ -611,7 +614,6 @@ bool TStampa_stat::set_print(int i)
|
||||
|
||||
bool TStampa_stat::preprocess_print(int file, int counter)
|
||||
{
|
||||
// _pagewidth=POS_PRIMACOL+int((printer().formwidth()-POS_PRIMACOL)/_largcol)*_largcol;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user