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 {