Patch level : AT
Files correlati : at2.exe Ricompilazione Demo : [ ] Commento : Aggiunta configurazione stampante per stampa LETTERE e salto pagina a fine lettera git-svn-id: svn://10.65.10.50/trunk@10565 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
d6544eddf0
commit
9da1d6831f
@ -300,6 +300,9 @@ bool TStampaSospesi::preprocess_page(int file, int counter)
|
|||||||
if (_tipostampa==etichette)
|
if (_tipostampa==etichette)
|
||||||
if (printer().rows_left() < _form_eti->get_body().height())
|
if (printer().rows_left() < _form_eti->get_body().height())
|
||||||
printer().formfeed();
|
printer().formfeed();
|
||||||
|
if (_tipostampa==lettere)
|
||||||
|
if (printer().rows_left() < _form_let->get_body().height())
|
||||||
|
printer().formfeed();
|
||||||
_contatore++;
|
_contatore++;
|
||||||
_totale++;
|
_totale++;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
@ -417,7 +420,7 @@ bool TStampaSospesi::set_print(int m)
|
|||||||
_tipostampa = (configura_stampante(p, "AT_ETICHETTE", "etichette")) ? etichette : undefined;
|
_tipostampa = (configura_stampante(p, "AT_ETICHETTE", "etichette")) ? etichette : undefined;
|
||||||
break;
|
break;
|
||||||
case F_LETTERE:
|
case F_LETTERE:
|
||||||
_tipostampa = lettere;
|
_tipostampa = (configura_stampante(p, "AT_LETTERE", "lettere")) ? lettere : undefined;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (_tipostampa != undefined)
|
if (_tipostampa != undefined)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user