diff --git a/NKC_WF/Controllers/ReportConfController.cs b/NKC_WF/Controllers/ReportConfController.cs
new file mode 100644
index 0000000..bd7ddac
--- /dev/null
+++ b/NKC_WF/Controllers/ReportConfController.cs
@@ -0,0 +1,35 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Net;
+using System.Net.Http;
+using System.Web.Http;
+using static NKC_WF.WebUserControls.cmp_OOIL_drawings;
+using SteamWare;
+
+namespace NKC_WF.Controllers
+{
+ public class ReportConfController : ApiController
+ {
+ ///
+ /// Restituisce un array JSon x le conf dei report
+ /// GET: api/PrintQueueConf
+ ///
+ /// lista oggetto Json in formato SteamwareSDK.queueConf
+ public List Get()
+ {
+ List answ = MagData.MagDataLayer.man.reportConfJson;
+ // se vuoto... creo!
+ if (answ.Count == 0)
+ {
+ SteamWare.Reports.reportConf currConf = new SteamWare.Reports.reportConf()
+ {
+ name = "none",
+ template = "none.rdlc"
+ };
+ answ.Add(currConf);
+ }
+ return answ;
+ }
+ }
+}
diff --git a/NKC_WF/NKC_WF.csproj b/NKC_WF/NKC_WF.csproj
index 7c0da68..37b6a36 100644
--- a/NKC_WF/NKC_WF.csproj
+++ b/NKC_WF/NKC_WF.csproj
@@ -134,6 +134,9 @@
..\packages\SteamWare.Logger.5.2.2206.1310\lib\net462\SteamWare.Logger.dll
+
+ ..\packages\SteamWare.Reports.5.2.2204.2910\lib\net462\SteamWare.Reports.dll
+
..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll
diff --git a/NKC_WF/Reports/queueConf.json b/NKC_WF/Reports/queueConf.json
index f28cce5..f29d22d 100644
--- a/NKC_WF/Reports/queueConf.json
+++ b/NKC_WF/Reports/queueConf.json
@@ -208,5 +208,20 @@
"MarginBottom": "0in",
"xmlParam": "EMF4.09in2in0in0in0in0in"
}
+ },
+ {
+ "name": "queueSpecialPart",
+ "template": "SpecialParts.rdlc",
+ "printerName": "Microsoft Print to PDF",
+ "deviceInfoParam": {
+ "OutputFormat": "EMF",
+ "PageHeight": "11in",
+ "PageWidth": "8.5in",
+ "MarginLeft": "0.5in",
+ "MarginRight": "0.5in",
+ "MarginTop": "0.5in",
+ "MarginBottom": "0.5in",
+ "xmlParam": "EMF8.5in11in0.5in0.5in0.5in0.5in"
+ }
}
]
\ No newline at end of file
diff --git a/NKC_WF/packages.config b/NKC_WF/packages.config
index a55b1b9..6d8923a 100644
--- a/NKC_WF/packages.config
+++ b/NKC_WF/packages.config
@@ -57,6 +57,7 @@
+