Exemple #1
0
 /// <summary>
 /// 우측 정렬
 /// </summary>
 public void SetRight()
 {
     try
     {
         if (PrintType == ComPortPrintStyle.LUKHAN)
         {
             printData.AddRange(Bill_Print_LUHKAN.SetRight());
         }
     }
     catch (Exception ex)
     {
         throw  ex;
     }
 }
Exemple #2
0
 public byte[] GetCut()
 {
     try
     {
         if (PrintType == ComPortPrintStyle.LUKHAN)
         {
             return(Bill_Print_LUHKAN.Cut());
         }
         else
         {
             return(null);
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemple #3
0
        /// <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;
            }
        }