bebo925 / ng-thermal-print

Angular module for connecting and printing to thermal printers.
MIT License
42 stars 44 forks source link

Web Bluetooth API Driver #8

Open jcfrane opened 4 years ago

jcfrane commented 4 years ago

Hi, there are devices that supports bluetooth and chrome can read through all connected bluetooth

I am a beginner but I definitely want to contribute in your awesome repo. Can you provide contributing guide?

Thanks!

bebo925 commented 4 years ago

@jcfrane I don't have any official contribution guides. If you make a pull request with a new driver, I will happily review it and look at merging it in. I would love to include WebBluetooth API!

jcfrane commented 4 years ago

@bebo925 Ok will do this soon.

Thanks!

jcfrane commented 4 years ago

@bebo925 can I ask why the common js codes inside /lib/js are not being compiled alonside es6 modules?

bebo925 commented 4 years ago

@jcfrane That is just how ng-packagr compiles the library.

jcfrane commented 4 years ago

Hi can you assign me on this issue? I am currently working on it thanks :)

lhmboyz commented 4 years ago

Hi, thank, this package is so awesome, the only thing missed is connection using bluetooth, looking forward to this update @bebo925 @jcfrane

jcfrane commented 4 years ago

@lhmboyz almost done :) Im just waiting for another set of printers for testing.

SouengKimmeng commented 4 years ago

+1 could you tell me more detail on these sir! I need this solution

jcfrane commented 4 years ago

Hi I can send you how I did it on my local it thats urgent... I do not want to commit yet because I wasnt able to test it on other printers yet.

On Mon, 3 Feb 2020, 10:53 PM SouengKimmeng notifications@github.com wrote:

+1 could you tell me more detail on these sir! I need this solution

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bebo925/ng-thermal-print/issues/8?email_source=notifications&email_token=ABWAJ4SJLESMY66GSLNSZ2DRBAVVJA5CNFSM4J2BX5K2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKUD66A#issuecomment-581451640, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWAJ4Q4HJJG3IBALDLJ6HLRBAVVJANCNFSM4J2BX5KQ .

SouengKimmeng commented 4 years ago

Okay sir so can you send that code to me ? I'll test on my local

jcfrane commented 4 years ago

whats your email?

On Mon, 3 Feb 2020, 10:58 PM SouengKimmeng notifications@github.com wrote:

Okay sir so can you send that code to me ? I'll test on my local

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bebo925/ng-thermal-print/issues/8?email_source=notifications&email_token=ABWAJ4RZNIBIHFDRAU5P5MDRBAWIXA5CNFSM4J2BX5K2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKUETOQ#issuecomment-581454266, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWAJ4S5VMHONLFSDNS3X33RBAWIXANCNFSM4J2BX5KQ .

SouengKimmeng commented 4 years ago

my email: kimmeng.soueng2017@gmail.com

SouengKimmeng commented 4 years ago

Sir I did not see any code from you yet.

bebo925 commented 4 years ago

@jcfrane Let's push your branch up to Github. I have several Bluetooth printers that I can test also.

jcfrane commented 4 years ago

Hi, I'll be pushing it tomorrow. I'm sorry for the delay, the bluetooth printer I'm testing it with has been transferred to my client.

Sireini commented 4 years ago

Whats the status?

@jcfrane could you also send me the piece of code? Would be so nice if bluetooth is implemented in this 👍

jcfrane commented 4 years ago

Whats the status?

@jcfrane could you also send me the piece of code? Would be so nice if bluetooth is implemented in this 👍

Hi already made a PR

https://github.com/bebo925/ng-thermal-print/pull/17

It would be nice if you can test my PR coz I don't have the scanner with me anymore. And maybe you can improve the code to fit your needs.

s-triar commented 3 years ago

I would love to test this Web Bluetooth API. the USB driver works great on my pc and thermal printer.

NicholasJCameron commented 1 year ago

Did you end up getting bluetooth to work?

s-triar commented 1 year ago

Yeah it did

NicholasJCameron commented 1 year ago

Did you use chrome ? Because we are not seeing the printer show up... and we are thinking because star printers are not low energy?

s-triar commented 1 year ago

I tested on panda thermal printer with chrome browser using an android smartphone and windows 10 pc. because my pc does not have BLE, I used USB and normal Bluetooth and it works. For android, I tested using BLE.