The Java Fiscal Device API is a medium-level API to
communicate with fiscal devices such as fiscal printers. It
handles the communication protocol, the formatting and
parsing of the protocol packets, and provides event-based
notification for certain events such as out-of-paper events. It
was made for Hasar printers (in use in Argentina and other
countries) but also works fine with Epson printers.