[Rails] How to Send ESC commands to a DOT MATRIX printer in Ruby on Rails?

2012-01-05 Thread sly verano
Guys I need your help. I need to print RAW data to format the settings of the printer. The below data are my example of RAW data... ! HELLO WORLD chr(27) + '!' + chr( 1) ! HELLO WORLD chr(27) + '!' + chr( 2) ! HELLO WORLD chr(27) + '!' + chr( 3) ! HELLO WORLD chr(27) + '!' + chr( 4) !

Re: [Rails] How to Send ESC commands to a DOT MATRIX printer in Ruby on Rails?

2012-01-05 Thread Michael Pavling
On 5 January 2012 03:04, sly verano slyver...@gmail.com wrote: Guys I need your help. I need to print RAW data to format the settings of the printer. You don't mention whether this printer is connected to the Rails server, a client workstation, or the network. If you're trying to print from