有什么方法可以通过离子在蓝牙打印机上上传图像吗?

时间:2018-12-28 07:08:41

标签: ionic-framework command

我正在使用Star Micronics SM-S400蓝牙打印机,并希望将我的应用程序徽标上传到收据的顶部。

让收据='';

receipt += commands.HARDWARE.HW_INIT;
receipt += commands.MARGINS.LEFT;
receipt += commands.IMAGE_FORMAT.S_RASTER_N;
receipt += commands.TEXT_FORMAT.TXT_ALIGN_CT;
receipt += this.base64Image; 

// public base64Image:any ='assets / imgs / edit_icon.png';

receipt += commands.EOL;

0 个答案:

没有答案