Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Interfacing Dot matrix printer to PIC 16f877A

Status
Not open for further replies.

Akhthar Ali Khan

Junior Member level 1
Joined
Mar 2, 2007
Messages
15
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Chennai
Activity points
1,374
interfacing dot matrix printer to a pic

Hi,

Can anybody advice me on using 16f877a to interface a Parallel Dot Matrix printer?

I am planning to build a overlay kind of thing which can read ASCII data sent to printer from a PC or another microcontroller and some more ASCII data to it. If possible pls give a example C code for Parallel Printer interface.

Thanks,
Akhthar
 

fuzzy

Advanced Member level 4
Joined
Sep 25, 2004
Messages
108
Helped
13
Reputation
26
Reaction score
3
Trophy points
1,298
Activity points
1,005
dot matrix printer pic microcontroller

Dear Akhthar;
-First must be know parallel printer port protocol on pc.Beacuse all printers working this protocol.
-May be found this protocol old printer documents.
- Epanorama very good site for electronics.
http://www.epanorama.net/links/pc_interface.html#parallel
 

Akhthar Ali Khan

Junior Member level 1
Joined
Mar 2, 2007
Messages
15
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Chennai
Activity points
1,374
parallel dot matrix printer protocol

Hi Fuzzy,

Thanks for your reply. But I know Parallel interfacing. I even know how to give data to parallel printer. It is like post data to data port of the centronics port and give a strobe pulse. But I am not able to print by doing this. I just want to know, do I have to do any initialisation before posting data.

Thanks,
Akhthar
 

fuzzy

Advanced Member level 4
Joined
Sep 25, 2004
Messages
108
Helped
13
Reputation
26
Reaction score
3
Trophy points
1,298
Activity points
1,005
parallel printer interface pic24

Dear Ali Khan;
-Long time ago I attach microcontroller to printer.
-There is no any initial code for dotmatrix printing.

-Do you know centronix port timing.And please use buffer for data bus and signaling..

I send message from TURKEY....
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top