From 87043ea92e514a26f947b4da692d9efc870ee591 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=BD=87=E9=98=B3?= Date: Wed, 29 May 2024 16:25:35 +0800 Subject: [PATCH] tt --- CPF_Cef/MainModel.cs | 2 +- CPF_Cef/Parame.cs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CPF_Cef/MainModel.cs b/CPF_Cef/MainModel.cs index 4735245..eeae47a 100644 --- a/CPF_Cef/MainModel.cs +++ b/CPF_Cef/MainModel.cs @@ -213,7 +213,7 @@ namespace AKS.EnterpriseLibrary.WebBrowser } public static string callback = string.Empty; - public static string PrinterName = "Lexmark-MS430-Series"; + public static string PrinterName = Parame.PrinterName; public static Process recordingProcess; public static Process Typrocess; private static string srpath = string.Empty; diff --git a/CPF_Cef/Parame.cs b/CPF_Cef/Parame.cs index c9fe396..5446a4e 100644 --- a/CPF_Cef/Parame.cs +++ b/CPF_Cef/Parame.cs @@ -29,6 +29,8 @@ namespace AksWebBrowser public static string pritPj = "/dev/ttyS7"; //波特率 public static int pritPjPort = 38400; + //打印名字 + public static string PrinterName = "Lexmark-MS430-Series"; } public struct Func {