Logic for putting a blank page in the PDF if the procedure prints duplex foldouts
This commit is contained in:
parent
e27c61e016
commit
2a754387ea
@ -1074,7 +1074,7 @@ namespace VEPROMS
|
|||||||
//ProcedureInfo myproc = pi;
|
//ProcedureInfo myproc = pi;
|
||||||
//frmPDFStatusForm frm = new frmPDFStatusForm(myproc, ap.RevNumber, /* revdate change: ap.RevDate.ToString("MM/dd/yyyy") ,*/ waterMark, false, false, ViewPDF, true, VlnSettings.TemporaryFolder, new ChangeBarDefinition(pi.MyDocVersion.MyConfig as DocVersionConfig, pi.ActiveFormat), pdfTmp, location);
|
//frmPDFStatusForm frm = new frmPDFStatusForm(myproc, ap.RevNumber, /* revdate change: ap.RevDate.ToString("MM/dd/yyyy") ,*/ waterMark, false, false, ViewPDF, true, VlnSettings.TemporaryFolder, new ChangeBarDefinition(pi.MyDocVersion.MyConfig as DocVersionConfig, pi.ActiveFormat), pdfTmp, location);
|
||||||
//myproc.ChangeBarDate = myDTS;
|
//myproc.ChangeBarDate = myDTS;
|
||||||
frmPDFStatusForm frm = new frmPDFStatusForm(pi, ap.RevNumAndDate, /* revdate change: ap.RevDate.ToString("MM/dd/yyyy") ,*/ waterMark, false, false, ViewPDF, true, VlnSettings.TemporaryFolder, new ChangeBarDefinition(pi.MyDocVersion.MyConfig as DocVersionConfig, pi.ActiveFormat), pdfTmp, location);
|
frmPDFStatusForm frm = new frmPDFStatusForm(pi, ap.RevNumAndDate, /* revdate change: ap.RevDate.ToString("MM/dd/yyyy") ,*/ waterMark, false, false, ViewPDF, true, VlnSettings.TemporaryFolder, new ChangeBarDefinition(pi.MyDocVersion.MyConfig as DocVersionConfig, pi.ActiveFormat), pdfTmp, location, pi.MyDocVersion.DocVersionConfig.Print_AddBlankPagesWhenUsingDuplexFoldouts);
|
||||||
frm.AllowAllWatermarks = true;
|
frm.AllowAllWatermarks = true;
|
||||||
frm.CloseWhenDone = !ViewPDF;
|
frm.CloseWhenDone = !ViewPDF;
|
||||||
frm.ShowDialog();
|
frm.ShowDialog();
|
||||||
|
@ -87,7 +87,7 @@ namespace PrintMSWord
|
|||||||
changeBarData.ChangeBarMessage == "None" ? PrintChangeBarText.None :
|
changeBarData.ChangeBarMessage == "None" ? PrintChangeBarText.None :
|
||||||
changeBarData.ChangeBarMessage == "RevNum" ? PrintChangeBarText.RevNum : PrintChangeBarText.UserDef;
|
changeBarData.ChangeBarMessage == "RevNum" ? PrintChangeBarText.RevNum : PrintChangeBarText.UserDef;
|
||||||
PromsPrinter pp = new PromsPrinter(myProcedure, tbRev.Text, cbWatermark.Text, cbDebugOutput.Checked, false, @"C:\TEMP\32Bit\Compare", openPdf, true, cbd,
|
PromsPrinter pp = new PromsPrinter(myProcedure, tbRev.Text, cbWatermark.Text, cbDebugOutput.Checked, false, @"C:\TEMP\32Bit\Compare", openPdf, true, cbd,
|
||||||
myProcedure.DisplayNumber.Replace('/','_').Replace('\\','_'));
|
myProcedure.DisplayNumber.Replace('/','_').Replace('\\','_'),false);
|
||||||
pp.StatusChanged += new PromsPrinterStatusEvent(pp_StatusChanged);
|
pp.StatusChanged += new PromsPrinterStatusEvent(pp_StatusChanged);
|
||||||
_ElapsedTime = new Dictionary<PromsPrinterStatusType, TimeSpan>();
|
_ElapsedTime = new Dictionary<PromsPrinterStatusType, TimeSpan>();
|
||||||
DateTime tStart = DateTime.Now;
|
DateTime tStart = DateTime.Now;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user