i hav been working with RP 203 thermal printer . I hav go through the basic program of it and can any1 help me with the waveform plot pr graph plot in thermal printer . i hav attached the datasheep of my printer. Thank u.
i can interfaced and print some basic command from the printer. I don know how to scale to plot a graph from arduino to thermal printer. If u hav some information r code kindly share it.
My guess is that you need to convert your graph into a bitmap, and then send it to the printer together with some of the 'Bit Image Commands' as detailed on page 9 of the manual.
ok. I run the default code which is been given as an example in adafruit arduino library. Except the bitmap everything working fine. I hav attached my output and code as well. If some1 does know the solution kindly rply.
Praveen281290:
If u hav some information r code kindly share it.
The only code I have is for the "Oscilloscope Screen Dump" project I did which might be close to what you need. It is written in Processing which is Java. But as Java syntax is just C then I think it is very easy to translate to the Arduino. You can get the code here:- http://www.thebox.myzen.co.uk/Mac_Apps/Processing.html
Iound some library but i stuck again .can any1 sort out this? i hav attached my file, library and output image as well. In the image i can see "BEGIN" printed but not the graph. I don know which command to use in ThermalGrapgher.cpp in "print_value" section. I hav attached my datasheet as well. Doing my 1st project would b helpful some guide me .
need help with draw rectangle or a line in thermal printer using arduino.i have attached the data sheet . I have run some program on bitmap it works fine. just to draw a line using command to know more .pls help to do it.TY
You need to arrange a buffer that you can draw into where each bit represents a dot on the printout. The libraries for the Adafruit OLED display do this and give you some drawing primitives like lines and rectangles as well.
Once you have completed the drawing you then need some code that will read the bits in the form of a single column of 8 bits. You send this to your printer through an escape character sequence that ends up with the byte that this column forms.
The escape character sequence is shown at the bottom of page 9 and top of page 10 of your manual. Also see page 19 for how these columns make a picture.
I am struggling to get the printer work with Arduino. I connected the Printer's TTL port TX and RX to the 6 and 5 pin of the code provided by Adafruit and tested it but nothing prints. Any idea what's happening ?
Hi,
Can you post a circuit diagram and a copy of your code please?
Have you got the Tx designated pin of the Arduino connected to the Rx of the printer, and the Rx designated pin of the Arduino connected to the Tx of the printer.