Has anyone done any Ruby integration with a Bematech or other printer? What gems or ways can you print to a fiscal printer?
Has anyone done any Ruby integration with a Bematech or other printer? What gems or ways can you print to a fiscal printer?
There is no specific gem for Bematech printers, unfortunately .
You know that in the case of Windows the printers install drivers and with them come an interface implementation provided by the operating system, right? If not, then I explain: external device drivers are nothing more than interface implementations of how to do things.
In the case of the printer, you must access .dll (if Windows) through Ruby - using require - and use the printer's printing method.
To help you, you can download the drivers this link .
More complete and specific documentation you find at the above address.
In the Bematech site there is all the documentation of the DLL's and how to make the calls of their functions, including with examples.
Another alternative is to use the ACBrMonitor .