Explorar o código

打印测试2

lilei %!s(int64=3) %!d(string=hai) anos
pai
achega
34e3b66533
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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, 2090, 45, '')
+            LODOP.SET_PRINT_PAGESIZE(1, 2090, '', '')
             LODOP.PREVIEW()
     } else if (type == 'print') { //  打印
       window.frames['printfsqd'].focus()