spostata conf report dei primi cartellini: AL, Completo, Anime...

This commit is contained in:
Samuele E. Locatelli (WEB DEV)
2017-02-26 21:25:04 +01:00
parent a11c58cb73
commit d8d7c95a5f
8 changed files with 4 additions and 48 deletions
-2
View File
@@ -44,8 +44,6 @@
<add key="reportName" value="Lista_di_Prelievo" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="urlStampeSSRS" value="http://SRV-PRODSP02:8282/Reports/Pages/Folder.aspx?ItemPath=/POSSIDONIO/MAGAZZINO" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<!--Setup stampa cartellini-->
<add key="printerCartCompleto" value="\\SRV-PRODSP02\MPC2500-Copy" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="printerCartAnime" value="\\SRV-PRODSP02\MPC2500-Copy" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="printerCartFiniti" value="\\SRV-PRODSP02\MPC2500-Copy" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="printerCartFusi" value="\\SRV-PRODSP02\MPC2500-Copy" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="printerCartLiquidiF10" value="\\WS-0551\HP1320-Liquidi" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
-2
View File
@@ -43,8 +43,6 @@
<add key="reportName" value="Lista_di_Prelievo_Test" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="urlStampeSSRS" value="http://SRV-PRODSP02:8282/Reports/Pages/Folder.aspx?ItemPath=/POSSIDONIO/MAGAZZINO/TEST" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<!--Setup stampa cartellini-->
<add key="printerCartCompleto" value="\\SRV-PRODSP02\MPC2500-Copy" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="printerCartAnime" value="\\SRV-PRODSP02\MPC2500-Copy" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="printerCartFiniti" value="\\SRV-PRODSP02\MPC2500-Copy" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="printerCartFusi" value="\\SRV-PRODSP02\MPC2500-Copy" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="printerCartLiquidiF10" value="\\SRV-PRODSP02\HP1320-Liquidi" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
-2
View File
@@ -43,8 +43,6 @@
<add key="reportName" value="Lista_di_Prelievo" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="urlStampeSSRS" value="http://srv-prodtk01/Reports/Pages/Folder.aspx?ItemPath=/TEKAL/MAGAZZINO" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<!--Setup stampa cartellini-->
<add key="printerCartCompleto" value="\\SRV-DEV01\MPC2500-Copy" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="printerCartAnime" value="\\SRV-DEV01\MPC2500-Copy"/>
<add key="printerCartFiniti" value="\\SRV-DEV01\MPC2500-Copy" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="printerCartFusi" value="\\SRV-DEV01\MPC2500-Copy" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="printerCartLiquidiF10" value="\\SRV-DEV01\MPC2500-Copy" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
-2
View File
@@ -42,8 +42,6 @@
<add key="reportName" value="Lista_di_Prelievo_Test" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="urlStampeSSRS" value="http://srv-prodtk01/Reports/Pages/Folder.aspx?ItemPath=/TEKAL/MAGAZZINO/TEST" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<!--Setup stampa cartellini-->
<add key="printerCartCompleto" value="\\SRV-DEV01\MPC2500-Copy" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="printerCartAnime" value="\\SRV-PRODTK01\Kyocera_FS-1370dn" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="printerCartFiniti" value="\\SRV-DEV01\MPC2500-Copy" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="printerCartFusi" value="\\SRV-DEV01\MPC2500-Copy" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="printerCartLiquidiF10" value="\\SRV-DEV01\MPC2500-Copy" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
-12
View File
@@ -173,18 +173,6 @@
<add key="CodMagMP" value="6" />
<add key="CodMagMP_NA" value="6666" />
<!--Setup stampa cartellini-->
<add key="printerCartAL" value="\\SRV-DEV01\MPC2500-Copy" />
<add key="PageWidthCartAL" value="21cm" />
<add key="PageHeightCartAL" value="29.7cm" />
<add key="MarginCartAL" value="0.5cm" />
<add key="printerCartCompleto" value="\\SRV-PRODSP01\MPC2500-Copy" />
<add key="PageWidthCartCompleto" value="21cm" />
<add key="PageHeightCartCompleto" value="29.7cm" />
<add key="MarginCartCompleto" value="0.5cm" />
<add key="printerCartAnime" value="\\SRV-PRODSP01\MPC2500-Copy" />
<add key="PageWidthCartAnime" value="21cm" />
<add key="PageHeightCartAnime" value="14.8cm" />
<add key="MarginCartAnime" value="0.5cm" />
<add key="printerCartFiniti" value="\\SRV-PRODSP01\MPC2500-Copy" />
<add key="PageWidthCartFiniti" value="21cm" />
<add key="PageHeightCartFiniti" value="14.8cm" />
-12
View File
@@ -174,18 +174,6 @@
<add key="CodMagMP" value="6" />
<add key="CodMagMP_NA" value="6666" />
<!--Setup stampa cartellini-->
<add key="printerCartAL" value="\\SRV-DEV01\MPC2500-Copy" />
<add key="PageWidthCartAL" value="21cm" />
<add key="PageHeightCartAL" value="29.7cm" />
<add key="MarginCartAL" value="0.5cm" />
<add key="printerCartCompleto" value="\\SRV-PRODSP01\MPC2500-Copy" />
<add key="PageWidthCartCompleto" value="21cm" />
<add key="PageHeightCartCompleto" value="29.7cm" />
<add key="MarginCartCompleto" value="0.5cm" />
<add key="printerCartAnime" value="\\SRV-PRODSP01\MPC2500-Copy" />
<add key="PageWidthCartAnime" value="21cm" />
<add key="PageHeightCartAnime" value="14.8cm" />
<add key="MarginCartAnime" value="0.5cm" />
<add key="printerCartFiniti" value="\\SRV-PRODSP01\MPC2500-Copy" />
<add key="PageWidthCartFiniti" value="21cm" />
<add key="PageHeightCartFiniti" value="14.8cm" />
-12
View File
@@ -174,18 +174,6 @@
<add key="CodMagMP" value="6" />
<add key="CodMagMP_NA" value="6666" />
<!--Setup stampa cartellini-->
<add key="printerCartAL" value="\\SRV-DEV01\MPC2500-Copy" />
<add key="PageWidthCartAL" value="21cm" />
<add key="PageHeightCartAL" value="29.7cm" />
<add key="MarginCartAL" value="0.5cm" />
<add key="printerCartCompleto" value="\\SRV-PRODSP01\MPC2500-Copy" />
<add key="PageWidthCartCompleto" value="21cm" />
<add key="PageHeightCartCompleto" value="29.7cm" />
<add key="MarginCartCompleto" value="0.5cm" />
<add key="printerCartAnime" value="\\SRV-PRODSP01\MPC2500-Copy" />
<add key="PageWidthCartAnime" value="21cm" />
<add key="PageHeightCartAnime" value="14.8cm" />
<add key="MarginCartAnime" value="0.5cm" />
<add key="printerCartFiniti" value="\\SRV-PRODSP01\MPC2500-Copy" />
<add key="PageWidthCartFiniti" value="21cm" />
<add key="PageHeightCartFiniti" value="14.8cm" />
+4 -4
View File
@@ -437,12 +437,12 @@ public class reportPrinter
// carico di dati con lettura da web.config parametrica
if (printerName == "")
{
printerName = memLayer.ML.confReadString(string.Format("printer{0}", tipo));
printerName = memLayer.ML.cdv(string.Format("printer{0}", tipo));
}
outForm = "EMF";
pagWidth = memLayer.ML.confReadString(string.Format("PageWidth{0}", tipo));
pagHeigth = memLayer.ML.confReadString(string.Format("PageHeight{0}", tipo));
margin = memLayer.ML.confReadString(string.Format("Margin{0}", tipo));
pagWidth = memLayer.ML.cdv(string.Format("PageWidth{0}", tipo));
pagHeigth = memLayer.ML.cdv(string.Format("PageHeight{0}", tipo));
margin = memLayer.ML.cdv(string.Format("Margin{0}", tipo));
// compongo parametri stampa
devInfoParam deviceInfo = new devInfoParam(outForm, pagHeigth, pagWidth, margin, margin, margin, margin);
answ = printAndLog(UDC, printerName, answ, report, deviceInfo);