|
@@ -47,6 +47,7 @@ export const JGPrint = function (data, type, printerType) {
|
|
|
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.PREVIEW()
|
|
|
} else if (type == 'print') { // 打印
|
|
|
window.frames['printfsqd'].focus()
|
|
|
window.frames['printfsqd'].print()
|