From 47565970fbd3f42c18aa3bdb9593ecd0e7e93043 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=BD=87=E9=98=B3?= Date: Wed, 7 Aug 2024 10:05:19 +0800 Subject: [PATCH] =?UTF-8?q?=20=E6=96=B0=E5=A2=9EMA90=E7=83=AD=E6=95=8F?= =?UTF-8?q?=E6=89=93=E5=8D=B0=E6=9C=BA=EF=BC=8C=E6=A0=BC=E5=BC=8F=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CPF_Cef/Devices/PrintPJ.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CPF_Cef/Devices/PrintPJ.cs b/CPF_Cef/Devices/PrintPJ.cs index fd11a0f..b3c3e1b 100644 --- a/CPF_Cef/Devices/PrintPJ.cs +++ b/CPF_Cef/Devices/PrintPJ.cs @@ -102,7 +102,7 @@ namespace AksWebBrowser.Devices LibPrint.SetCommandmode(10); LibPrint.SetAlignment(1); LibPrint.SetLeftmargin(-40); - LibPrint.PrintQrcode(Encoding.GetEncoding("gb2312").GetBytes(qrcode), 0, 8, 1); + LibPrint.PrintQrcode(Encoding.GetEncoding("gb2312").GetBytes(qrcode), 25, 8, 1); LibPrint.PrintRemainQR(); LibPrint.PrintFeedDot(80);