diff --git a/CPF_Cef/Devices/PrintPJ.cs b/CPF_Cef/Devices/PrintPJ.cs index c3a617c..8b89154 100644 --- a/CPF_Cef/Devices/PrintPJ.cs +++ b/CPF_Cef/Devices/PrintPJ.cs @@ -110,7 +110,7 @@ namespace AksWebBrowser.Devices LibPrint.SetSizetext(0, 0); LibPrint.SetAlignment(2); LibPrint.PrintString(Encoding.GetEncoding("gb2312").GetBytes(DateTime.Now.ToLocalTime().ToString()), 1); - LibPrint.PrintFeedDot(140); + LibPrint.PrintFeedDot(155); LibPrint.PrintCutpaper(0); } catch (Exception ex) diff --git a/CPF_Cef/FrmMain.cs b/CPF_Cef/FrmMain.cs index 931e1cb..0e46c5f 100644 --- a/CPF_Cef/FrmMain.cs +++ b/CPF_Cef/FrmMain.cs @@ -88,6 +88,7 @@ namespace AKS.EnterpriseLibrary.WebBrowser Parame.webBrowser.Width = w; Parame.webBrowser.Height = h; Parame.webBrowser.Url = "http://127.0.0.1:8096/#/main-out"; + //Parame.webBrowser.Url = "http://192.168.0.34:8078/#/main-out"; //Parame.webBrowser.Url = Application.StartupPath + @"\html\index.html"; //开发者工具暂时只能支持Windows //webBrowser.ShowDev(); diff --git a/CPF_Cef/Parame.cs b/CPF_Cef/Parame.cs index ec06f35..2249759 100644 --- a/CPF_Cef/Parame.cs +++ b/CPF_Cef/Parame.cs @@ -19,7 +19,7 @@ namespace AksWebBrowser public static Window frm { get; set; } public static List FuncObject { get; set; } //接口地址 - public static string apiUrl = "http://127.0.0.1:8098"; + public static string apiUrl = "http://127.0.0.1:8098";//"http://192.168.0.34:92"; //授权key public static string key = "1"; //硬件Ip @@ -41,7 +41,7 @@ namespace AksWebBrowser //打印名字 public static string PrinterName = "Lexmark-MS430-Series"; //是否启用双目 - public static bool isSM = true; + public static bool isSM = false; //是否开启高拍仪 public static bool isGPY = false; //双目摄像头