Beispiel #1
0
        private void PrintLabelUseCodeSoft(string labelFilePath, string labelValue, int copies,
                                           string lang, string printerName)
        {
            PrintHlper printHlper = new PrintHlper();

            printHlper.PrintLabelUseCodeSoft(labelFilePath, labelValue, copies, lang, typeof(LabelPrint), printerName);
        }
Beispiel #2
0
        public void PrintLabelUseCodeSoft9(string labelFilePath, string labelValue, int copies,
                                           string lang, string printerName, ref int errorCode, ref String errorMessage, int linkFLag)
        {
            PrintHlper printHlper = null;

            try
            {
                printHlper = new PrintHlper();
            }catch (Exception err)
            {
                throw new Exception("codesoft安装不正确---" + err.Message);
            }
            printHlper.PrintLabelUseCodeSoft9(labelFilePath, labelValue, copies, lang,
                                              typeof(LabelPrint), printerName,
                                              ref errorCode, ref errorMessage, linkFLag);
        }
Beispiel #3
0
        private void SendContentToPrinter(string printContent, string printerName, string lang)
        {
            PrintHlper printHlper = new PrintHlper();

            printHlper.SendContentToPrinter(printContent, printerName, lang, typeof(LabelPrintNormal));
        }