/// <summary> /// 우측 정렬 /// </summary> public void SetRight() { try { if (PrintType == ComPortPrintStyle.LUKHAN) { printData.AddRange(Bill_Print_LUHKAN.SetRight()); } } catch (Exception ex) { throw ex; } }
public byte[] GetCut() { try { if (PrintType == ComPortPrintStyle.LUKHAN) { return(Bill_Print_LUHKAN.Cut()); } else { return(null); } } catch (Exception ex) { throw ex; } }
/// <summary> /// 싸인데이터 추가 /// </summary> /// <param name="SignData">DB 에 있는 싸인데이터</param> /// <returns>변환된 싸인데이터</returns> public void AddSignData(byte[] SignData) { try { //싸인데이터 추출 byte[] bSignData = GetBillPrintSignData(SignData); byte[] bReturn = null; if (PrintType == ComPortPrintStyle.LUKHAN) { bReturn = Bill_Print_LUHKAN.AddSignData(bSignData); } printData.AddRange(bReturn); } catch (Exception ex) { throw ex; } }