XML-ESC/POS is a simple library that allows you to interact with ESC/POS devices with a simple utf8 encoded xml format similar to HTML. The following example is self-explanatory:
The utf8 support is incomplete, mostly asian languages are not working since they are badly documented and only supported by region-specific hardware.
This is also the very first release, which is a simple extraction from the Odoo code base. While it works well, it needs some cleanup for public use.
Also, the doc is non-existent.