/// <summary>
        ///切纸
        /// </summary>
        public int CutPage()
        {
            int err = 0;

            byte[] cmdData = PrintCommand.Cut();
            if (sendPackage(cmdData))
            {
                err = 1;
            }
            else
            {
                err = (int)PrintError.SendFailure;
            }
            return(err);
        }
        /// <summary>
        ///切纸
        /// </summary>
        public int CutPage()
        {
            int err = 0;

            byte[] cmdData = PrintCommand.Cut();
            int    res     = blueClient.Client.Send(cmdData);

            if (res == cmdData.Length)
            {
                err = 1;
            }
            else
            {
                err = (int)PrintError.SendFailure;
            }
            return(err);
        }
        /// <summary>
        ///切纸
        /// </summary>
        public int CutPage()
        {
            int err = 0;

            try
            {
                byte[] cmdData = PrintCommand.Cut();
                chatService.Write(cmdData);
                err = 1;
                return(err);
            }
            catch
            {
                err = (int)PrintError.SendFailure;
                return(err);
            }
        }