From 0f982954b0037970cbf16dfb12d5a35f351f5ea1 Mon Sep 17 00:00:00 2001 From: Kathy Date: Wed, 21 Feb 2018 13:31:24 +0000 Subject: [PATCH] B2018-029: Deleted Supplemental Information step appears in pdf --- PROMS/VEPROMS User Interface/frmPDFStatusForm.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PROMS/VEPROMS User Interface/frmPDFStatusForm.cs b/PROMS/VEPROMS User Interface/frmPDFStatusForm.cs index ed42049b..99be9410 100644 --- a/PROMS/VEPROMS User Interface/frmPDFStatusForm.cs +++ b/PROMS/VEPROMS User Interface/frmPDFStatusForm.cs @@ -157,6 +157,10 @@ namespace VEPROMS MyPromsPrinter.DocReplace = DocReplace; // used when approve generates an export with unlinked ROs and Transitions DateTime tStart = DateTime.Now; if (!CancelStop) PromsPrinter.ClearTransPageNumProblems(); + // B2018-029: delete any pdf files related to printing supplemental information facing pages: + string[] filePaths = System.IO.Directory.GetFiles(Volian.Base.Library.VlnSettings.TemporaryFolder, "*.pdf"); + foreach (string filePath in filePaths) System.IO.File.Delete(filePath); + do { int profileDepth = ProfileTimer.Push(">>>> MyPromsPrinter.Print");