Waveform generate in Thermal printer Rp203

Hi guys,

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.

thermal Printer manual.pdf (649 KB)

Hi,
Welcome to the forum.

Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html.

What does this have to do with Arduino?
Do you want to get an Arduino to output to the printer and plot graphs?

Tom... :slight_smile:

hi,

yes. for example reading temperature and plot graph in thermal printer using uno

. I hav go through the basic program of it

So have you got this to print using an Arduino?

Because it looks to me like you will need a USB host shield on the Arduino in order to talk to it.

By the way datasheep has to be the word of the day. :slight_smile:

Hi,
I has an RS232 port as well.

Tom... :slight_smile:

hi mike,

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.

and sry for "datasheep"!!! :slight_smile:

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.

thermal_arduino.ino (1.42 KB)

adalogo.h (4.05 KB)

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

ok grump. can any1 help me with ths?

HI GUYS,

can some1 guide me to draw sensor output as graph in thermal printer through UNO? i hav attached my printer datasheet .Ty

thermal Printer manual.pdf (649 KB)

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 .

TY

sample_graph.ino (820 Bytes)

ThermalGrapher.cpp (4.42 KB)

thermal Printer manual.pdf (649 KB)

Hi guys,

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

thermal Printer manual.pdf (649 KB)

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.

hi grump,

actually i did. i also run some examples but couldnt display a line. i attach the program pls guide me.TY

Thermal__printer_sample_graph.ino (2.73 KB)

Sorry on a mobile device so I can’t read .ino files, even though hey are just text files at the end of the day.

Hello Praveen,

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 ?

FYI test print works fine also.

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.

Tom... :grinning: :+1: :coffee: :australia:

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.