This is a group for folks designing and programming embedded systems using the Rabbit Semiconductor C-programmable microcontroller. Rabbit Semi is a spin-off from Z-World who makes a variety of embedded modules and tools. This group is not affiliated with either Rabbit or Z-World, but is a user forum for sharing ideas, asking questions,
flaunting knowledge, and other typical user group stuff. The Rabbit is a powerful uC, supported by a full-featured C-compiler.
Using a Dot Matrix Printer with BL2600 - phahee - May 21 12:07:32 2009
Hi Friends,
I need to print the data continuously at run time. I am using BL2600 for my
projects. Has anyone used a Serial Printer with BL2600?
Is it possible to use a Dot Matrix Printer with BL2600 for this purpose?
Phahee

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )
Re: Using a Dot Matrix Printer with BL2600 - kevin asato - May 21 19:26:35 2009
I have not. There should not be a reason why you cannot use a serial printer, dot matrix
or otherwise. Last one I did (a band printer eons ago) had a FIFO queue about 1.5 times
larger than the largest message I had to send out. The function responsible for actually
writing to the printer monitored the UART to determine if the character had finished
sending (transmit buffer empty - tbmt) or the status of the handshake line from the
printer. This last part requires an RS-232 level converter and extra discrete line to make
it work. My serial interface board just happened to have the handshakes available to work
with.
73,
kevin
kc6pob
--- On Thu, 5/21/09, phahee
wrote:
From: phahee
Subject: [rabbit-semi] Using a Dot Matrix Printer with BL2600
To: r...@yahoogroups.com
Date: Thursday, May 21, 2009, 12:17 AM
Hi Friends,
I need to print the data continuously at run time. I am
using BL2600 for my projects. Has anyone used a Serial Printer with BL2600?
Is it possible to use a Dot Matrix Printer with BL2600 for
this purpose?
Phahee

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )RE: Using a Dot Matrix Printer with BL2600 - phahee - May 21 21:54:02 2009
Thank you Kevin.
_____
From: r...@yahoogroups.com [mailto:r...@yahoogroups.com] On
Behalf Of kevin asato
Sent: Friday, May 22, 2009 7:26 AM
To: r...@yahoogroups.com
Subject: Re: [rabbit-semi] Using a Dot Matrix Printer with BL2600
I have not. There should not be a reason why you cannot use a serial
printer, dot matrix or otherwise. Last one I did (a band printer eons ago)
had a FIFO queue about 1.5 times larger than the largest message I had to
send out. The function responsible for actually writing to the printer
monitored the UART to determine if the character had finished sending
(transmit buffer empty - tbmt) or the status of the handshake line from the
printer. This last part requires an RS-232 level converter and extra
discrete line to make it work. My serial interface board just happened to
have the handshakes available to work with.
73,
kevin
kc6pob
--- On Thu, 5/21/09, phahee
wrote:
From: phahee
Subject: [rabbit-semi] Using a Dot Matrix Printer with BL2600
To: r...@yahoogroups.com
Date: Thursday, May 21, 2009, 12:17 AM
Hi Friends,
I need to print the data continuously at run time. I am using BL2600 for my
projects. Has anyone used a Serial Printer with BL2600?
Is it possible to use a Dot Matrix Printer with BL2600 for this purpose?
Phahee

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )Re: Using a Dot Matrix Printer with BL2600 - eilidhs_daddy - May 22 5:37:42 2009
> Hi Friends,=20
>=20
> =A0=20
>=20
> I need to print the data continuously at run time. I am
> using BL2600 for my projects. Has anyone used a Serial Printer with BL260=
0?=20
>=20
> Is it possible to use a Dot Matrix Printer with BL2600 for
> this purpose?=20
>=20
> =A0=20
>=20
> Phahee
>
If the printer you are connecting to has a SERIAL interface (RS232) then th=
ere should be no problem at all. You should even be able to do it with just=
the three wire interface (GND, TX, RX).
One thing you'll need to be very careful of is buffer overrun - that's wher=
e you send data to the printer faster than it can receive and print it, eve=
ntually filling the printers internal data buffer and the printer will star=
t to drop characters.
To work around this with just a three wire interface, set the printer to us=
e the XON/XOFF protocol - the printer will send you a XOFF character when =
it's buffer is full, telling you to stop sending data - then it'll send you=
an XON when it's ready again. You need to look for these characters being =
received and act appropriately.=20
-Kenny
------------------------------------
______________________________
controlSUITE software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )RE: Re: Using a Dot Matrix Printer with BL2600 - phahee - May 22 8:26:37 2009
Kenny,
Thank you for your reply
Phahee
_____
From: r...@yahoogroups.com [mailto:r...@yahoogroups.com] On
Behalf Of eilidhs_daddy
Sent: Friday, May 22, 2009 5:37 PM
To: r...@yahoogroups.com
Subject: [rabbit-semi] Re: Using a Dot Matrix Printer with BL2600
> Hi Friends,
>
>
>
> I need to print the data continuously at run time. I am
> using BL2600 for my projects. Has anyone used a Serial Printer with
BL2600?
>
> Is it possible to use a Dot Matrix Printer with BL2600 for
> this purpose?
>
>
>
> Phahee
>
If the printer you are connecting to has a SERIAL interface (RS232) then
there should be no problem at all. You should even be able to do it with
just the three wire interface (GND, TX, RX).
One thing you'll need to be very careful of is buffer overrun - that's where
you send data to the printer faster than it can receive and print it,
eventually filling the printers internal data buffer and the printer will
start to drop characters.
To work around this with just a three wire interface, set the printer to use
the XON/XOFF protocol - the printer will send you a XOFF character when it's
buffer is full, telling you to stop sending data - then it'll send you an
XON when it's ready again. You need to look for these characters being
received and act appropriately.
-Kenny
______________________________
controlSUITE software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!

(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )