januslo / react-native-bluetooth-escpos-printer

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

tear on is not working #71

Open jturingan25 opened 5 years ago

jturingan25 commented 5 years ago

how can I cut automatically the paper?

januslo commented 5 years ago

You may need to send the raw command

发自我的 iPhone

在 2019年9月11日,下午9:56,jturingan25 notifications@github.com 写道:

how can I cut automatically the paper?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

jturingan25 commented 5 years ago

what do you mean raw command? can you give an example?

Thanks,

James Turingan Software Engineer Thousand Minds Social Media Inc.

On Thu, Sep 12, 2019 at 12:49 AM janus j k lu notifications@github.com wrote:

You may need to send the raw command

发自我的 iPhone

在 2019年9月11日,下午9:56,jturingan25 notifications@github.com 写道:

how can I cut automatically the paper?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/januslo/react-native-bluetooth-escpos-printer/issues/71?email_source=notifications&email_token=ANAQHI7SIMY7KDKVLLVSWMTQJEOS5A5CNFSM4IVULB52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6PERMQ#issuecomment-530466994, or mute the thread https://github.com/notifications/unsubscribe-auth/ANAQHIZOAK2TE7A2MATVI7TQJEOS5ANCNFSM4IVULB5Q .

rezasazesh commented 4 years ago

+1 on How do we send raw command?

angelop11 commented 3 years ago

any solution to send raw command?

takeruadelbert commented 3 years ago

any luck with this? help please @angelop11 @rezasazesh @jturingan25 @januslo

xuanhieupd commented 2 years ago

+1

heyfromapp commented 9 months ago

Sending this raw command code at the end will do the trick.

await BluetoothEscposPrinter.printText('\x1B\x69', {});