Rehan Khalil
Rehan Khalil
@kiyohken2000 you have to use `disconnectPrinter` method if you have set up your printer using `instantiate` method. You can refer to this link for more detail : https://github.com/tr3v3r/react-native-esc-pos-printer/blob/main/docs/API.md#disconnectprintertarget-string
@tr3v3r after executing the following code , try { const printers = await EscPosPrinter.discover(); console.log("printers", printers); } catch (error) { console.log("Error:", error); } getting the following console errors requestAndroidPermissions false...
> we have a bug for iOS > > Could you please try to discover with this code? > > ``` > import { > NativeModules, > NativeEventEmitter, > }...
@tolypash pair with a printer, do some printing stuff. Then turn that off and try to discover. It will discover those turned off devices as well.
@AlhassanMousa Yes. You are right. I checked but arabic is not in available languages. You can refer this for an alternative workaround . https://github.com/tr3v3r/react-native-esc-pos-printer/issues/54#issuecomment-1104241671