diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index 61f3c3d7..c3a4315b 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -2129,7 +2129,12 @@ namespace Volian.Print.Library string myMsg = docstyle.Continue.Top.Message; MyPageHelper.TopMessageRs = new List(); - if (myMsg != null && myMsg != "") + // bug fix B2106-099 + // when there are more than one Caution/Note off of a high level background step, + // the second, third, etc background Caution/Note pages begin printing two additional lines from the top of the page + // to fix, added a check to see the the item we are printing has the PageBrrakOnStep flag set, if it's set, + // then DON'T add two lines to the yPageStart (for the top conitnue message) + if (myMsg != null && myMsg != "" && !MyItemInfo.FormatStepData.PageBreakOnStep) { yPageStart -= 2 * SixLinesPerInch;// Allow two lines for top continue message if (myMsg.IndexOf(@"%sR") > -1)