static GenPrinterBase()
 {
     ConfigUtil config = new ConfigUtil("DNPdfGenConfig", "Config/dnPdfConfig.ini");
     copy = int.Parse(config.Get("Copy"));
     printerBase = config.Get("PrinterBase");
     templateBasePath = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, config.Get("TemplatePath"));
     printerType = (PrinterType)int.Parse(config.Get("PrinterType"));
 }
 static PrinterConfig()
 {
     printerConfig = new ConfigUtil("Printer", "Config/printerConfig.ini");
     _copy = int.Parse(printerConfig.Get("Copy"));
     _templatePath = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, printerConfig.Get("Template"));
     //_templatePath = "";
     _printerName = printerConfig.Get("PrinterName");
     _printerType = (PrinterType)int.Parse(printerConfig.Get("PrinterType"));
 }
 static SettingConfig()
 {
     printerConfig = new ConfigUtil("Printer", "Config/settingConfig.ini");
     _copy = int.Parse(printerConfig.Get("Copy"));
     _templatePath = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, printerConfig.Get("Template"));
     _printerName = printerConfig.Get("PrinterName");
     _printerType = (PrinterType)int.Parse(printerConfig.Get("PrinterType"));
     proxyConfig = new ConfigUtil("ProxyConfig", "Config/settingConfig.ini");
     _netProxyType = NetProxy.GetNetProxyType(int.Parse(proxyConfig.Get("NetProxy")));
 }
 static ConfigReader()
 {
     ConfigUtil baseConfig = new ConfigUtil("BaseConfig", "Config/baseConfig.ini");
     ConfigReader._dnPdfOutPutPath = baseConfig.Get("DnPdfOutPath");
     ConfigReader._dnBucketName = baseConfig.Get("BUCKET");
 }