|
@@ -24,8 +24,9 @@ export const JGPrint = function (data, type, printerType) {
|
|
|
return
|
|
|
}
|
|
|
LODOP.SET_SHOW_MODE('HIDE_PAPER_BOARD', 1) // 隐藏底图上有模拟走纸板的条纹线
|
|
|
- LODOP.ADD_PRINT_HTM('0', '0', 'RightMargin:0.1cm', 'BottomMargin:0.1cm', data)
|
|
|
- LODOP.SET_PRINT_PAGESIZE(3, 2140, '60', '') // 这里3表示纵向打印且纸高“按内容的高度”;2140表示纸宽214.0mm;60表示页底空白6.0mm
|
|
|
+ LODOP.ADD_PRINT_HTM('0', '0', 'RightMargin:0cm', 'BottomMargin:0cm', data)
|
|
|
+ LODOP.SET_PRINT_PAGESIZE(3, 2090, 45, '') // 这里3表示纵向打印且纸高“按内容的高度”;2140表示纸宽214.0mm;60表示页底空白6.0mm
|
|
|
+ // LODOP.SET_PRINT_PAGESIZE(1, 2090, 2090, '')
|
|
|
if (type == 'preview') {
|
|
|
LODOP.PREVIEW()
|
|
|
}
|