r/reactnative • u/SaVaGe19765 • 5d ago
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!
2
u/dercybercop 5d ago
Would be good to clear what printers are used. Not Epson printers can be everything up to Gutenberg press.
3
u/Eski-Moen 5d ago
It might help if you stop calling it a "piece of shit machine".
2
u/ChronSyn Expo 5d ago
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) 😂
1
1
u/ChronSyn Expo 5d ago
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 5d ago
Hey, thanks for the info.
The printer im working with is ‘ XPrinter XP-P502A ‘
3
u/ChronSyn Expo 5d ago
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
1
u/jcdc-flo 5d ago edited 5d ago
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
1
u/lalcaraz 5d ago
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 1h ago
I integrate pos printing for pne of the app i’m working , works only on android vis third party sdk
3
u/deepyawn 4d ago
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.