예제 #1
0
        public static Status SetBackPosition(BlackPosition pos, int len)
        {
            if (!IsUse)
            {
                return(Status.SUCC);
            }

            try
            {
                Status nRet = (Status)EpsonSetBlackMark(pos, len);
                if (nRet != Status.SUCC)
                {
                    AppLog.Write("[InvoicePrinter][SetBackPosition]" + nRet.ToString(), AppLog.LogMessageType.Warn);
                }
                return(nRet);
            }
            catch (System.Exception e)
            {
                AppLog.Write("[InvoicePrinter][SetBackPosition]Error!\n" + e.ToString(), AppLog.LogMessageType.Error);
                return(Status.FAIL);
            }
        }
예제 #2
0
 protected static extern int EpsonSetBlackMark(BlackPosition position, int len);