Пример #1
0
 public void Cut()
 {
     try
     {
         if (PrintType == ComPortPrintStyle.LUKHAN)
         {
             printData.AddRange(Bill_Print_LUHKAN.Cut());
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Пример #2
0
 public byte[] GetCut()
 {
     try
     {
         if (PrintType == ComPortPrintStyle.LUKHAN)
         {
             return(Bill_Print_LUHKAN.Cut());
         }
         else
         {
             return(null);
         }
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }