Ruby Bematech integration (or similar)

4

Has anyone done any Ruby integration with a Bematech or other printer? What gems or ways can you print to a fiscal printer?

    
asked by anonymous 30.01.2014 / 05:08

2 answers

1

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.

    
30.01.2014 / 11:31
1

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 .

    
30.01.2014 / 14:16