Open elhannaoui-ayoub opened 11 months ago
Hi @elhannaoui-ayoub ,
Thanks for reaching out and apologies for the delayed reply on this. To print over USB (Android only) simply set the port to USB (https://github.com/CodeMinion/another_brother/blob/main/lib/printer_info.dart#L446) on any of the existing examples.
There is no need to search for the printer because there is only one available so the code can proceed to the printing stage without needing to perform the search normally present in the examples.
One thing to note, (and this might have changed) but make sure to first connect your printer to the device over USB, and then power the printer on. In the past we have seen cases where the printer is not detected if the printer is on before connecting it over USB to the Android device.
Hope this helps don't don't hesitate to reach out anytime if there is anything else we can help with,
I can't find the dart code that can be used to connect to a Brother QL printer using USB Cable .