oolio-group / xml-escpos-helper

Apache License 2.0
30 stars 13 forks source link

[question] More documentation #6

Closed jeffreyvanhees closed 3 years ago

jeffreyvanhees commented 3 years ago

Hi!

Great package! Especially since you also managed to build in support for images (after your fork). However, I can't find anywhere how to use these xml tags exactly, apart from your example.

Is there a list or documentation available somewhere that elaborates on the features/tags/nodes?

Got it running in react-native, which seems to work well!

Thanks!

jeffreyvanhees commented 3 years ago

Is this package actually maintained?

lakshmaji-till commented 3 years ago

Hey @jeffreyvanhees, Thanks for comments. Yes, we are actively maintaining. Our team was occupied with internal production releases! Will come up with instructions in some time. and yes, this library currently supporting images with png format! (but there are some limitation with pngjs with react-native framework)

lakshmaji-till commented 3 years ago

We've added some basic examples. You can find out image printing here.

jeffreyvanhees commented 3 years ago

Hi @lakshmaji-till! Great, many thanks!! 👍

lakshmaji-till commented 3 years ago

@jeffreyvanhees , glad you find this library useful!

jeffreyvanhees commented 3 years ago

Absolutely! We use thermal printers which we control remotely. The 'receipt' is generated via an API. So now we just send them the XML. Thanks to this package it's easy to get the receipt based on XML output.