Abilitata il formfeed anche in visualizzazione (quando il footer è definito )
git-svn-id: svn://10.65.10.50/trunk@5333 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
a2360e5b86
commit
ef2621c2c3
@ -2077,9 +2077,11 @@ void TPrinter::close ()
|
||||
const bool isfirstpage = (_currentpage == 1 && _frompage == 0) ||
|
||||
(_currentpage <= _frompage);
|
||||
|
||||
if (isopen() && (!isfirstpage || _currentrow > _headersize) &&
|
||||
(_printertype != screenvis && _printertype != winprinter
|
||||
&& _printertype != export))
|
||||
if (isopen() && // la stampante era aperta e non è vero che:
|
||||
!((isfirstpage && _currentrow <= _headersize) || // non ho stampato nulla, oppure
|
||||
(_printertype == screenvis && _footersize==0 ) || // sono in visualizzazione e non c'è footer, oppure
|
||||
_printertype == winprinter || // è una winprinter, oppure
|
||||
_printertype == export)) // è un export file
|
||||
formfeed();
|
||||
|
||||
if (_fp)
|
||||
|
Loading…
x
Reference in New Issue
Block a user