Pages: [1]   Go Down
Author Topic: Thermal Printer + Arduino + need of RTS/CTS and DTR/DSR pins?  (Read 695 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 81
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I recently salvaged a thermal printer saying "EM205_101122" on it's circuit board. I also got success in accessing to all it's datasheets.
It seems that it has a RS232 as well as TTL ports, but both of the ports are given two  extra pins saying "RTS/DTS and DTR/DSR".
While I read about them, they are the flow control pins and are to be kept +12V or -12V.
For communication with the Arduino (as given  in this tutorial: http://bildr.org/2011/08/thermal-printer-arduino/) does these pins are required to be used or we can just use the RX TX pins only?

Help me as I'm stuck in middle of it and I just want to be sure as I don't want to burn anything trying to make it.

Ps find the datasheets as attached below

* EP108PP(Full).pdf (617.38 KB - downloaded 8 times.)
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 452
Posts: 18694
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You won't burn anything out by setting them to either + or - 12V.

They are flags, if you have them around the wrong way it won't print.
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 81
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If I don't use them at all will it affect the printing function? And If I just use the serial communication as shown in the bildr tutorial for printing will it work with this printer? I kindly request you to re-frame a conclusive wiring for the Arduino and my Thermal printer from studying briefly the data-sheet (the data sheets attached).

I Think powering it , then connecting the Rx-TX and TX-Rx and GND will do enough as given in bildr tutorial.

Thank you
Logged

Portugal
Online Online
Edison Member
*
Karma: 27
Posts: 1429
Tomorrow I will know a BIT more than yesterday
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
If I don't use them at all will it affect the printing function? And If I just use the serial communication as shown in the bildr tutorial for printing will it work with this printer?
Yes it will work.
Some days ago a wired my EPSON to the arduino and it works very well
For you do the test here is my code:
Code:
void setup ()
{
Serial.begin(19200); //Epson default printer settings for baud rate
}

void loop() //looping sequence
{
printFromAtoZ();
delay(1000);                         //delay for 1 second
}
void printFromAtoZ()
{
unsigned char caracter = 'A';  
Serial.write(0x1B);             //ESC POS command
Serial.print('@');                   //ESC POS initialize followed after command
for(uint8_t i = 0; i<=25;i++){
  Serial.write(caracter++);
}
Serial.write(0xA);                    //Print and Line Feed from Buffer
}


All you need to wire is TX RX though a MAX232 and Ground
« Last Edit: July 30, 2013, 11:23:20 am by HugoPT » Logged

Debian,Mint,Ubuntu
Arduino Mega 2560
Arduino Nano
Arduino Duemilanove
MAC OS Montain Lion
Raspberry PI Model B


Offline Offline
Jr. Member
**
Karma: 0
Posts: 81
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks.
I'll try now.
Logged

Pages: [1]   Go Up
Jump to: