コード例 #1
0
 public PosPrinterWrapper(PosPrinter pPosPrinter)                 //string pDeviceName, PosExplorer explorer)
 {
     this.posPrinter = pPosPrinter;
     //	this.posExplorer = explorer;
     //	this.deviceName = pDeviceName;
     //	System.Resources.ResourceManager resources = new System.Resources.ResourceManager("EclipsePos.Hardware.PosPrinterWrapper", Assembly.GetExecutingAssembly());
     cutPercent       = 90;              //int.Parse(resources.GetString("CutPercent"));
     totalWidth       = 10;              //int.Parse(resources.GetString("TotalWidth"));
     qtyWidth         = 10;              //int.Parse(resources.GetString("QtyWidth"));
     itemWidth        = 16;              //int.Parse(resources.GetString("ItemWidth"));
     deviceHealthText = "HealthText";    // resources.GetString("HealthText");
 }