tr3v3r / react-native-esc-pos-printer

An unofficial React Native library for printing on an EPSON TM printer with the Epson ePOS SDK for iOS and Epson ePOS SDK for Android
MIT License
137 stars 63 forks source link

Support for React Native Windows #136

Open rafaelmonroy opened 4 months ago

rafaelmonroy commented 4 months ago

Is there a roadmap for support on a React Native Windows app?

Epson does provide a Windows SDK: https://c4b.epson-biz.com/modules/pos/index.php?page=single_soft&cid=6045&scat=41&pcat=52

If there are no plans this, would a PR that offers this functionality be welcomed?

tr3v3r commented 4 months ago

HI @rafaelmonroy
For now, I have a plan for a big restructuring of the printing approach and documentation for the Native part ( in progress ). Yes, it'd be great to have Windows support as well. So I'd appreciate any here!

Waleed065 commented 4 months ago

Good Stuff.

@tr3v3r When can we expect the restructuring change to be released?

tr3v3r commented 4 months ago

@Waleed065 For now, the approach itself is finished but I need to migrate all existing methods. I'll raise a PR tomorrow at the latest with the intermediate results.

So you can follow the proposed structure and do WIndows support in parallel

tr3v3r commented 4 months ago

BTW you can start from "Printer Discovery", it's fine

https://github.com/tr3v3r/react-native-esc-pos-printer/blob/main/docs/discovery/discovery.md

powershek commented 4 months ago

Good to support react-native-windows version . Thank you very much , hope to hear the update soon

rafaelmonroy commented 2 months ago

@tr3v3r we are getting ready to begin the windows support soon, do you know if this PR will be merging soon? If not, no worries we can branch off from it to begin our work. Thanks

tr3v3r commented 2 months ago

@rafaelmonroy hi! Happy to hear that!

You can start from the branch since the work is still in progress. But no major changes are planned, only bug fixes and documentation.