uu
This commit is contained in:
parent
a006636a2b
commit
d4592accf7
@ -40,7 +40,7 @@ export default {
|
||||
imgData: '',
|
||||
percentage: 0, // 打印进度
|
||||
imageUrl: '',
|
||||
paperWidth: 560,
|
||||
paperWidth: 480,
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
@ -62,7 +62,7 @@ export default {
|
||||
}
|
||||
let prtInstance = tanexPrinterUniSdk.createInstance()
|
||||
prtInstance.init(that.canvasHeight)
|
||||
// prtInstance.diyCode(`PAGE-WIDTH 600\r\n`)
|
||||
prtInstance.diyCode(`PAGE-WIDTH 600\r\n`)
|
||||
prtInstance.addBitmapByEG(0, 0, that.imgData)
|
||||
prtInstance.setPagePrint()
|
||||
let commond = prtInstance.getPrintCmd()
|
||||
|
||||
@ -62,7 +62,7 @@ export default {
|
||||
previewModel: { show: false },
|
||||
printModel: { show: false },
|
||||
imageUrl: [],
|
||||
paperWidth: 560,
|
||||
paperWidth: 480,
|
||||
show: false,
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user