public void InitPrinter() { try { if (PrintType == ComPortPrintStyle.LUKHAN) { printData.AddRange(Bill_Print_LUHKAN.InitPrinter()); } } catch (Exception ex) { throw ex; } }
public byte[] GetInitPrinter() { try { if (PrintType == ComPortPrintStyle.LUKHAN) { return(Bill_Print_LUHKAN.InitPrinter()); } else { return(null); } } catch (Exception ex) { throw ex; } }