januslo / react-native-bluetooth-escpos-printer

React-Native plugin for the bluetooth ESC/POS & TSC printers.
MIT License
359 stars 416 forks source link

Please help me! cut paper and open drawer in ios #123

Open huuanh1987 opened 4 years ago

huuanh1987 commented 4 years ago

Hello Guy.

I have a problem with cut paper and open drawer. A try BluetoothEscposPrinter.opendDrawer(0, 250, 250); But nothing. Can you help me, Please !!!

esaputra95 commented 3 years ago

try this clone plugin from github https://github.com/januslo/react-native-bluetooth-escpos-printer replace this plugin to project/node_modules change your code // BluetoothEscposPrinter.opendDrawer(0, 250, 250); BluetoothEscposPrinter.openDrawer(0, 250, 250);

farhanaAzizan commented 1 year ago

Hi, Im getting 'TypeError: undefined is not a function, js engine: hermes' error when using 'BluetoothEscposPrinter.opendDrawer(0, 250, 250);' or 'BluetoothEscposPrinter.openDrawer(0, 250, 250);'

Ive tried the solution from @esaputra95 but still get the error. Anyone can help me ?

esaputra95 commented 1 year ago

on ios or android

Pada tanggal Sen, 31 Jul 2023 pukul 09.54 farhanaAzizan < @.***> menulis:

Hi, Im getting 'TypeError: undefined is not a function, js engine: hermes' error when using 'BluetoothEscposPrinter.opendDrawer(0, 250, 250);' or 'BluetoothEscposPrinter.openDrawer(0, 250, 250);'

Ive tried the solution from @esaputra95 https://github.com/esaputra95 but still get the error. Anyone can help me ?

— Reply to this email directly, view it on GitHub https://github.com/januslo/react-native-bluetooth-escpos-printer/issues/123#issuecomment-1657422413, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG2NZUTU7IYS5T2BS53SWNDXS4M5TANCNFSM4P7AT3EA . You are receiving this because you were mentioned.Message ID: <januslo/react-native-bluetooth-escpos-printer/issues/123/1657422413@ github.com>

farhanaAzizan commented 1 year ago

@esaputra95 on android

farhanaAzizan commented 1 year ago

on Android

On Mon, Jul 31, 2023 at 11:01 AM Eko Saputra @.***> wrote:

on ios or android

Pada tanggal Sen, 31 Jul 2023 pukul 09.54 farhanaAzizan < @.***> menulis:

Hi, Im getting 'TypeError: undefined is not a function, js engine: hermes' error when using 'BluetoothEscposPrinter.opendDrawer(0, 250, 250);' or 'BluetoothEscposPrinter.openDrawer(0, 250, 250);'

Ive tried the solution from @esaputra95 https://github.com/esaputra95 but still get the error. Anyone can help me ?

— Reply to this email directly, view it on GitHub < https://github.com/januslo/react-native-bluetooth-escpos-printer/issues/123#issuecomment-1657422413>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/AG2NZUTU7IYS5T2BS53SWNDXS4M5TANCNFSM4P7AT3EA>

. You are receiving this because you were mentioned.Message ID: <januslo/react-native-bluetooth-escpos-printer/issues/123/1657422413@ github.com>

— Reply to this email directly, view it on GitHub https://github.com/januslo/react-native-bluetooth-escpos-printer/issues/123#issuecomment-1657426990, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZXMETHGYQGKJAK4NZHVTO3XS4NWZANCNFSM4P7AT3EA . You are receiving this because you commented.Message ID: <januslo/react-native-bluetooth-escpos-printer/issues/123/1657426990@ github.com>