Page 1 of 1

RS232 board with printer??????

Posted: Thu Apr 19, 2012 8:41 pm
by ilusaud
Hi guys, i recently bought most of the e-blocks, in that I also ordered RS 232 board (EB015-00-1).

And in my project I need to have some printing setup without using pc. So by connecting Multiprogrammer to RS232 board and can we directly connect printer to rs232 board.

Can somebody provide me with an example it would be great help.

Thanks

Ilyaz

Re: RS232 board with printer??????

Posted: Thu Apr 19, 2012 9:26 pm
by JohnCrow
Hi Ilyaz

Hmm sounds like an interesting idea, though I don't know if this would work or not. Im sure the guys at Matrix will be able to tell you if its at least possible.

I assume you want to send the output of a program to the rs232 port and to the printer, rather than sending it an LCD display or to display on the pc using hyperterminal ?

Have you looked at the EB015 test files

http://www.matrixmultimedia.com/search_ ... Submit.y=0

Re: RS232 board with printer??????

Posted: Fri Apr 20, 2012 12:51 pm
by ilusaud
Thanks John for appreciation, so how to convey my querry to matrix guys. As i thought this could be the platform for it.

regards,
Ilyas

Re: RS232 board with printer??????

Posted: Fri Apr 20, 2012 12:58 pm
by JohnCrow
Hi
You will get a reply on here. Sometimes its quicker than others, just depends how busy they are at Matrix.

Re: RS232 board with printer??????

Posted: Fri Apr 20, 2012 2:52 pm
by Steve
Yes - the RS232 E-block has two RS232 connections. One is suitable for connecting to a PC, and the other is suitable for connecting to a device such as a printer.

As long as you know what data to transmit to the printer, it should be easy to get a chip on the multiprogrammer to do it.

I don't think we have any specific examples for doing this. But as far as I remember, the communication technique to "talk" to a PC or to a device is the same.

Re: RS232 board with printer??????

Posted: Fri Apr 20, 2012 3:14 pm
by ilusaud
Thanks Steve, but the issue is on 'modem' connection of rs232 board, i have to connect on third party datalogging modem and on other connection i.e., 'pc' i have to connect to printer so as to print receipt. So is it possible to build this setup???

-
Ilyas

Re: RS232 board with printer??????

Posted: Fri Apr 20, 2012 3:27 pm
by Steve
I'm not sure you can use both the "modem" and the "pc" connections at the same time, but you could try. However, you will need to connect the printer to the "modem" port.

I don't know enough about RS232 signals to know if you can split the connections to monitor them. A quick search for RS232 monitors shows that they typically have a separate connection for monitoring the RS232 comms (usually a USB connector).

Re: RS232 board with printer??????

Posted: Fri Apr 20, 2012 3:44 pm
by ilusaud
I think u r right, i just gone through the datasheet of rs232 board which says that, RS232 E-Block can be used as either a DTE or a DCE device.

So is ther any other method to use these two (printer & datalogging modem) on same port as all other ports are occupied.

Re: RS232 board with printer??????

Posted: Fri Apr 20, 2012 3:48 pm
by Steve
I don't think it's possible. RS232 is a single point-to-point communication.

Re: RS232 board with printer??????

Posted: Fri May 11, 2012 6:10 pm
by Steve001
Hi,

Not been on here for a while just seen this post.

Have a look at this printer

http://proto-pic.co.uk/thermal-printer/

it's got a Serial TTL interface so you can connect it directly to the UART of the micro without the need of a RS232 interface
and several examples on there too

hope this of some help

Steve