bluetooth_print icon indicating copy to clipboard operation
bluetooth_print copied to clipboard

a flutter plugin connect to bluetooth thermal printer support both Android and IOS (eg. Gprinter pt-380、gp-1324、gp-2120)

Results 159 bluetooth_print issues
Sort by recently updated
recently updated
newest added

hello, I have try with size paper 58mm, and try to control size of image, how to do that

我阅读了一下你的插件源码,发现在android的源码里面,PrintContent.java 中的mapToReceipt函数有以下实现, //打印走纸n个单位 esc.addPrintAndFeedLines((byte) 4); // 开钱箱 esc.addGeneratePlus(LabelCommand.FOOT.F2, (byte) 255, (byte) 255); //开启切刀 esc.addCutPaper(); //添加缓冲区打印完成查询 byte [] bytes={0x1D,0x72,0x01}; //添加用户指令 esc.addUserCommand(bytes); 但是在ios里面,BluetoothPrintPlugin.m中的mapToEscCommand函数里,只有以下实现 [command addPrintAndFeedLines:4]; return [command getCommand]; 是不是因为ios中没有实现开启切刀,所以才导致ios打印完小票后,无法切纸的问题呢?

我基于flutter:1.22.4 ,bluetooth_print:2.0.0,做蓝牙打印机测试,在ios端,打印完小票之后,打印机无法自动切纸,android端可以正常切纸。测试过2款打印机,都有这个问题,机器分别是,GP-L80160I,BTP-X66 另外,华为P30 pro上面运行的时候,无法搜索到蓝牙打印机设备。

here is my build.gradle file ` compileSdkVersion 29 sourceSets { main.java.srcDirs += 'src/main/kotlin' } lintOptions { disable 'InvalidPackage' } defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html)....

String text = "1234"; list.add(LineText(type: LineText.TYPE_BARCODE, content: text , size:10, align: LineText.ALIGN_CENTER, linefeed: 1)); Additional characters "{B" are prefixed to the barcode text after printing. Scanning the printed barcode still...

How can i open cash drawer similar to esc_pos_bluetooth "printer.drawer()"? Thanks in advance.

Hello, I can not build your example, I got this error: C:\Users\bekir.oruc\AndroidStudioProjects\nuqud_mobile\android\app\src\debug\AndroidManifest.xml Error: uses-sdk:minSdkVersion 16 cannot be smaller than version 21 declared in library [:bluetooth_print] C:\Users\bekir.oruc\AndroidStudioProjects\nuqud_mobile\build\bluetooth_print\intermediates\library_manifest\debug\AndroidManifest.xml as the library might...

If phone is connecting a printer using other app or via phone bluetooth setting, we need show device is connected. I can't find a api, should be a feature request?