B2020-031: Supplemental information print has extra blank page
This commit is contained in:
parent
8b389f9727
commit
58a878da9d
@ -2018,6 +2018,16 @@ namespace Volian.Print.Library
|
||||
}
|
||||
else
|
||||
{
|
||||
// B2020-031: Don't put out an extra blank page if section has title that is printed (blank page is output then)
|
||||
bool titlePrinted = false;
|
||||
if (MyItemInfo.IsSection || (MyItemInfo.IsHigh && MyItemInfo.MyPrevious == null))
|
||||
{
|
||||
// see if the section title is printed.
|
||||
SectionConfig sch = MyItemInfo.ActiveSection.MyConfig as SectionConfig;
|
||||
titlePrinted = (sch == null || sch.Section_PrintHdr == "Y") || !(MyItemInfo.MyActiveSection as SectionInfo).HasSupInfoSteps;
|
||||
titlePrinted &= (ShowSectionTitles && !MyItemInfo.MyDocStyle.CancelSectTitle);
|
||||
}
|
||||
if (MyItemInfo.IsHigh && MyItemInfo.MyPrevious == null && !titlePrinted)
|
||||
MyPromsPrinter.InsertBlankPage(cb);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user