Patch level : at
Files correlati : at1.exe Ricompilazione Demo : [ ] Commento : sistemata stampa lettere per benemerenze git-svn-id: svn://10.65.10.50/trunk@11265 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
2fd6b3e837
commit
a5a648b006
@ -176,7 +176,7 @@ void TStampaBenemerenze::set_page(int file, int cnt)
|
||||
TPrint_section& corpo = _form_let->get_body();
|
||||
TForm_item& item_benem = corpo.find_field(LET_BENEM);
|
||||
TString80 benem = current_cursor()->curr(-ALIAS_BNZ).get("S0");
|
||||
int new_x = (80-benem.len())/2;
|
||||
int new_x = (88-benem.len())/2;
|
||||
item_benem.set_x(new_x);
|
||||
corpo.update();
|
||||
for (word i = 0; i < corpo.height(); i++)
|
||||
@ -261,6 +261,9 @@ bool TStampaBenemerenze::preprocess_page(int file, int counter)
|
||||
if (_tipostampa==etichette)
|
||||
if (printer().rows_left() < _form_eti->get_body().height())
|
||||
printer().formfeed();
|
||||
if (_tipostampa==lettere)
|
||||
if (printer().rows_left() < _form_let->get_body().height())
|
||||
printer().formfeed();
|
||||
_contatore++;
|
||||
return TRUE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user