I am trying to find a standalone way to interface with a Datamax M-Class Mark2 label printer through a Ruby on Rails application. I currently have a solution that is working, which i use javascript to interface with an ActiveX object on the users machine. If at all possible i would like to accomplish this without the need for the ActiveX object.
Ruby on Rails application interfacing with a Datamax barcode printer
ruby;ruby on rails
Outside of browser plugins like ActiveX, this it not possible in a web application run through a browser.  Web applications are sandboxed for user safety and don't have access to the user's machine for stuff like this.If you don't like ActiveX, you could build a solution using another plugin (Java Applet, etc) but you can't do this with native web technologies.