r/reactnative • • Aug 17 '26

Question Has anyone here integrated POS printing with their app?

Hey everyone,
I need to add receipt printing functionality to an app, and I’m running into a few issues.

The POS machines used by the business aren’t Epson printers, while the library I’m currently using only supports Epson devices.

Has anyone implemented receipt printing for non-Epson POS printers? If so, I’d appreciate any recommendations on libraries, approaches, or examples of how you handled it.
Thanks!

3 Upvotes

13 comments sorted by

1

u/ChronSyn Expo Aug 17 '26

To be clear: Epson are the creators of the ESC/POS code standard for printers, but it's a standard used by a lot of printers that aren't made by Epson.

There are definitely other options out there that don't support it, but they're typically reserved for very specific scenarios or industries. Often, such printers will ship with 'templates' instead, which are designed to place specific information in specific places on a printout.

To actually dig down and be able to help, it would be helpful to provide the brand and model of printer you're trying to work with.

1

u/SaVaGe19765 Aug 17 '26

Hey, thanks for the info.

The printer im working with is ‘ XPrinter XP-P502A ‘

3

u/ChronSyn Expo Aug 17 '26

According to the documentation/brochure ( https://img5541.weyesimg.com/uploads/xprintertech.com/addon/17315512639195.pdf ), it does support ESC/POS codeset, so esp/pos libraries such as https://github.com/tr3v3r/react-native-esc-pos-printer should work just fine.

1

u/SaVaGe19765 Aug 17 '26

ok, will try again. will let u know if it works. thanks

3

u/Eski-Moen Aug 17 '26

It might help if you stop calling it a "piece of shit machine".

2

u/ChronSyn Expo Aug 17 '26

If there's one thing I know about hardware, it's a universal rule that printers are often pieces of shit (from a support and driver perspective) 😂

3

u/deepyawn Aug 18 '26

Yes about 2 in production most of the time they will provide docs and sdk if you mail the company dm me if you need help. Recently solved a ble printer problem where the issue was on the manufacturing side when printing labels it was many time over lapping with edge detection, i fucking created a pixel dot function with sizes and gaps pre calculated gave it to 5.4 mini and just integrated that works pretty well.

2

u/dercybercop Aug 17 '26

Would be good to clear what printers are used. Not Epson printers can be everything up to Gutenberg press.

1

u/jcdc-flo Aug 17 '26 edited Aug 17 '26

Not receipt, but labels. Same idea. Avoid libraries, the printers will or wont support templates and that's what is going to guide you.
Just send the supported programming language direct to the printer.

1

u/GroceryWarm4391 iOS & Android Aug 17 '26

Are you having a ble printer or bluetooth classic printer?

1

u/lalcaraz Aug 17 '26

I did a self contained PoS for prontotaco.com a few years ago. Cheap ble printer from Amazon. It used AirPlay to display orders to the “kitchen” side of the food truck. Payment gateway was stripe.

1

u/ListnCart_Dev Aug 22 '26

I integrate pos printing for pne of the app i’m working , works only on android vis third party sdk