Browse Source

打印测试1

lilei 3 năm trước cách đây
mục cha
commit
120744d197
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/libs/JGPrint.js

+ 1 - 1
src/libs/JGPrint.js

@@ -46,7 +46,7 @@ export const JGPrint = function (data, type, printerType) {
       const LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM'))
             LODOP.SET_PRINT_STYLEA(0, 'PDFScalMode', 1)
             LODOP.ADD_PRINT_PDF(0, 0, '100%', '100%', data.data)
-            LODOP.SET_PRINT_PAGESIZE(3, 0, 0, '')
+            LODOP.SET_PRINT_PAGESIZE(3, 2090, 45, '')
             LODOP.PREVIEW()
     } else if (type == 'print') { //  打印
       window.frames['printfsqd'].focus()