diff --git a/PROMS/Volian.Print.Library/PromsPrinter.cs b/PROMS/Volian.Print.Library/PromsPrinter.cs index 53f30637..a9ba4ba4 100644 --- a/PROMS/Volian.Print.Library/PromsPrinter.cs +++ b/PROMS/Volian.Print.Library/PromsPrinter.cs @@ -493,7 +493,7 @@ namespace Volian.Print.Library _PageCountOfWordSection = 1; } else - _PageCountOfWordSection++; + if (!_MyHelper.OnBlankPage) _PageCountOfWordSection++; // B2018-049: supplemental printing throws off page sizes MyReaderHelper.MySectionInfo = LastWordSection; //ShowNeedForPageSize(); rct = MyReaderHelper.GetSize(LastWordSection, _PageCountOfWordSection); @@ -510,7 +510,8 @@ namespace Volian.Print.Library } // Bug Fix: B2016-135 when using a large page size word section, that large page size was being used for the foldout page // save this for the next section which will be the large page size word section. - if (_MyFoldoutReader.Count > 0) + // Bug Fix: B2018-049 supplemental printing throws off page sizes (need to do same thing as fix for foldouts) + if (_MyFoldoutReader.Count > 0 || (_MyHelper!=null && _MyHelper.MySection != null && _MyHelper.MySection.MyProcedure.ProcHasSupInfoData)) MyContentByte.PdfDocument.SetPageSize(NxtRCT); else MyContentByte.PdfDocument.SetPageSize(rct);