feat: 🚀 箱嘜打印區分o和0

This commit is contained in:
2025-07-22 09:11:33 +08:00
parent 00509601ba
commit 2975f9692c
14 changed files with 32 additions and 32 deletions

View File

@@ -26,7 +26,7 @@ export const boxMarkListPrint = (printData, printNumber) => {
LODOP.SET_PRINT_PAGESIZE(0, 900, 400, "");
LODOP.SET_PRINT_STYLE("FontSize", 9.3);
LODOP.SET_PRINT_STYLE("Bold", 1);
LODOP.SET_PRINT_STYLE("FontName", "黑体");
LODOP.SET_PRINT_STYLE("FontName", "思源黑体");
let logs = [];
let printDataClone = [];
@@ -124,13 +124,13 @@ function AddPrintContent(obj) {
LODOP.ADD_PRINT_TEXT(8, 232, "28mm", 30, `${remark}`);
LODOP.SET_PRINT_STYLEA(0, "TextOverflow", 2);
LODOP.SET_PRINT_STYLEA(0, "FontSize", 12);
LODOP.SET_PRINT_STYLEA(0, "FontName", "黑体");
LODOP.SET_PRINT_STYLEA(0, "FontName", "思源黑体");
LODOP.SET_PRINT_STYLEA(0, "LineSpacing", -6);
} else {
LODOP.ADD_PRINT_TEXT(8, 232, "28mm", 30, `${remark}`);
LODOP.SET_PRINT_STYLEA(0, "TextOverflow", 2);
LODOP.SET_PRINT_STYLEA(0, "FontSize", 12);
LODOP.SET_PRINT_STYLEA(0, "FontName", "黑体");
LODOP.SET_PRINT_STYLEA(0, "FontName", "思源黑体");
LODOP.SET_PRINT_STYLEA(0, "LineSpacing", -6);
}
}