From 78d9d7263673b3fd9a7e387c9e3ee5a442b65bbd Mon Sep 17 00:00:00 2001 From: ruanqi Date: Thu, 12 Jan 2023 17:07:48 +0800 Subject: [PATCH] =?UTF-8?q?0412=20=E6=96=B0=E7=9C=8B=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/print/print_outBox_label.js | 3 ++- src/views/modules/print/print_package_label.js | 1 + src/views/modules/print/print_seqNo_label.js | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/modules/print/print_outBox_label.js b/src/views/modules/print/print_outBox_label.js index 1e570c2..91a9971 100644 --- a/src/views/modules/print/print_outBox_label.js +++ b/src/views/modules/print/print_outBox_label.js @@ -139,6 +139,7 @@ export function printOutBoxLabel(printList) { LODOP.SET_PRINT_STYLEA(0,"Bold",1); if(printData.iconInfo!=''&&printData.iconInfo!=null) { LODOP.ADD_PRINT_IMAGE(185,425,99,55, ""); + // LODOP.ADD_PRINT_IMAGE(185,425,99,55, ""); LODOP.SET_PRINT_STYLEA(0,"Stretch",2); } if(printData.code=='CODE128') { @@ -179,7 +180,7 @@ export function printOutBoxLabel(printList) { } - // LODOP.SET_PRINT_STYLEA(1,"AngleOfPageInside",-90); + LODOP.SET_PRINT_STYLEA(1,"AngleOfPageInside",-90); // LODOP.PRINT_DESIGN(); LODOP.PREVIEW(); // LODOP.PRINT(); diff --git a/src/views/modules/print/print_package_label.js b/src/views/modules/print/print_package_label.js index 057158e..6edd341 100644 --- a/src/views/modules/print/print_package_label.js +++ b/src/views/modules/print/print_package_label.js @@ -98,6 +98,7 @@ export function printPackageLabel(printList) { } LODOP.SET_PRINT_STYLEA(0,"ShowBarText",0); LODOP.ADD_PRINT_IMAGE(4,18,114,31,""); + // LODOP.ADD_PRINT_IMAGE(4,18,114,31,""); LODOP.SET_PRINT_STYLEA(0,"Stretch",1); } diff --git a/src/views/modules/print/print_seqNo_label.js b/src/views/modules/print/print_seqNo_label.js index ee9e60f..71ca55e 100644 --- a/src/views/modules/print/print_seqNo_label.js +++ b/src/views/modules/print/print_seqNo_label.js @@ -72,8 +72,8 @@ export function printSeqNoLabel(printList) { LODOP.SET_PRINT_STYLEA(0,"FontSize",11); LODOP.SET_PRINT_STYLEA(0,"Bold",1); } - LODOP.PRINT_DESIGN(); - // LODOP.PREVIEW(); + // LODOP.PRINT_DESIGN(); + LODOP.PREVIEW(); // LODOP.PRINT(); console.log("操作成功!") }