W3Cschool
恭喜您成為首批注冊用戶
獲得88經驗值獎勵
打印自定義數據(多行文本)
printMultipleText({params}, callback(ret, err))
project:
title:
rows:
isSubject:
var gprinter = api.require('xGprinter');
gprinter.printMultipleText({
title : '自定義數據',
project : ['聯1','聯2'],
rows : [{
text : '內容1',
style : [0,0,1,0,1], //不加粗,不倍高,倍寬,不采用下劃線,使用
align : 'center',
lineHeight : 60,
image : '圖片base64編碼' //當text為空時使用image
}],
isSubject : true
});
Android系統(tǒng)
可提供的1.0.0及更高版本
Copyright©2021 w3cschool編程獅|閩ICP備15016281號-3|閩公網安備35020302033924號
違法和不良信息舉報電話:173-0602-2364|舉報郵箱:jubao@eeedong.com
掃描二維碼
下載編程獅App
編程獅公眾號
聯系方式:
更多建議: