Searching \ for 'Printer interface' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/index.htm?key=printer+interface
Search entire site for: 'Printer interface'.

Truncated match.
PICList Thread
'Printer interface'
1999\03\20@075609 by Biswanath Dutta

flavicon
picon face
Hi Piclisters,

Anybody can provide pointers and guidelines on how to go about
interfacing Pics to serial / parallel port  printers. Any application
note or site with notes, code etc. Sure its been done a million times
before.

Thanks very much

Biswanath

1999\03\21@003825 by efan Sayer

flavicon
face
Biswanath Dutta wrote:

> Hi Piclisters,
>
> Anybody can provide pointers and guidelines on how to go about
> interfacing Pics to serial / parallel port  printers. Any application
> note or site with notes, code etc. Sure its been done a million times
> before.

Search altavista for 'The Hardware Book' ! Look at Connector
Menu|Centronics Printer

(Whow: Amstrad CPC6128 Tape Connector... ;-)
Unfortunately they don't have the pinout for the Sony MZ-R50 MD-Walkman
remote - I have a spare one here I could perhaps use to control some PIC
application. comes even with display... did anyone of you hack it?


Stefan Sayer

1999\03\21@233942 by Ravi Pailoor

flavicon
face
Hi Dutta,

Please look at page no. 73 of uPIC book ( App idea no. 16 ). This shows
the minimum hardware interface required. For printing, dump ASCII
characters into the data lines and strobe it. Any printer manual will
give you the command and timing details.

Regards

Pailoor

Biswanath Dutta wrote:

{Quote hidden}

--
================================================
For Embedded Controls Solutions and Custom Designs
------------------------------------------------------------------------
CHIP TECHNOLOGIES - Member, Microchip Consultant Program
Bangalore
INDIA
Email   : spam_OUTchiptechTakeThisOuTspamvsnl.com
Webpage : http://business.vsnl.com/chiptech ( updated 16th Feb 1999 )
================================================

1999\03\22@033318 by Dr. Imre Bartfai

flavicon
face
Hi,
the problem is a bit more complicated.

1. Before sending data ensure the printer is ready. In my application I
use a separate PIC which reads all status lines and evaluates them into a
single -READY signal. (This PIC also drives a 7-segment display to show
what is going on.) May be, the not ready status is transient so some
limited waiting is required before giving alarm.

2. I write the code to data lines and make a strobe pulse as Pailoor
wrote.

3. Now I wait for the ACK pulse. Here is also some waiting loop. However,
here is a problem. An ACK pulse maybe incredible short (< 1 usec). There
are more solutions:
- use as interrupt (maybe it won't work)
- drive the TMR0 with it
- use external hardware
I cheese the latter method: I use a flip-flop which is cleared before
printing.

Now the whole stuff works.

The not-ready state may be as long as some hundred msec I found ( :-(  )

I hope this helps.

Imre


On Mon, 22 Mar 1999, Ravi Pailoor wrote:

{Quote hidden}

1999\03\25@205344 by Biswanath Dutta

flavicon
picon face
Hi,

Thanks to evryone who responded.

Biswanath

Dr. Imre Bartfai wrote:

{Quote hidden}

More... (looser matching)
- Last day of these posts
- In 1999 , 2000 only
- Today
- New search...