Patch level :

Files correlati     :
Ricompilazione Demo : [ ]
Commento            : Stampa modificati: salto pagina a fine stampa


git-svn-id: svn://10.65.10.50/trunk@7704 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
cris 1999-01-26 14:19:05 +00:00
parent bd5d062287
commit d2acdb0845

View File

@ -88,6 +88,8 @@ print_action TStampaModificati::postprocess_print(int file, int counter)
{ {
if ((_tipostampa == schede) && (_schxpag > 1)) if ((_tipostampa == schede) && (_schxpag > 1))
printer().formlen(_lenpage); printer().formlen(_lenpage);
else
printer().formfeed();
return NEXT_PAGE; return NEXT_PAGE;
} }
@ -249,14 +251,18 @@ bool TStampaModificati::set_print(int)
switch (tasto) switch (tasto)
{ {
case F_ELENCO: case F_ELENCO:
{
_tipostampa = elenco; _tipostampa = elenco;
_codsez = "**"; _codsez = "**";
_codsez = "**"; _codsez = "**";
}
break; break;
case F_SCHEDE: case F_SCHEDE:
{
_tipostampa = schede; _tipostampa = schede;
if (_schxpag > 1) if (_schxpag > 1)
printer().formlen(_lenpage/_schxpag); printer().formlen(_lenpage/_schxpag);
}
break; break;
} }
if (_tipostampa != undefined) if (_tipostampa != undefined)