Beispiel #1
0
        private bool PrintRow(AreaInfo area, int iPrintQty, ref string sPrintCode)
        {
            string strOnce = "";

            if (area.AreaType == 2)
            {
                strOnce = Print_Func.GetTempAreaPrintStr(area.AreaNo);
            }
            else
            {
                strOnce = Print_Func.GetAreaPrintStr(area.AreaNo);
            }
            if (string.IsNullOrEmpty(strOnce))
            {
                return(Common.Common_Func.ErrorMessage("货位标签 " + area.AreaName + " 打印失败", "打印失败"));
            }


            string strContent = string.Empty;

            for (int i = 1; i <= iPrintQty; i++)
            {
                strContent += strOnce;
            }

            sPrintCode += strContent;
            return(true);
        }