Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 19th March 2006, 07:39 PM   #1
Default Sending Pic Data to a serial printer (receipt printer)

I have the Pic working with windows "Hyper Term." . But I Cannot Get a Receipt printer to do anything using a Pic micro.
Anyone know What data lines I need to enable are pulse (ex RTS, Cts, Dtr pins). Any suggestion ANYONE!
1Steveo is offline  
Old 19th March 2006, 07:45 PM   #2
Default Re: Sending Pic Data to a serial printer (receipt printer)

Quote:
Originally Posted by 1Steveo
I have the Pic working with windows "Hyper Term." . But I Cannot Get a Receipt printer to do anything using a Pic micro.
Anyone know What data lines I need to enable are pulse (ex RTS, Cts, Dtr pins). Any suggestion ANYONE!
The printer will almost certainly use hardware handshaking, the ones going from the PC to the printer are DTR and RTS, those from the printer to the PC are DSR and CTS.

You might check the hardware for my PIC RS232 tutorial?, I manually link the handshake lines on the D connector.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 20th March 2006, 10:17 AM   #3
Default

Something else to be aware of is the fact that both your pic circuit and the receipt printer are both wired to connect to a PC. This means that they both expect to receive data on pin 3 and transmit on pin 2. If you connect the pic circuit to the printer then you end up with TX to TX and RX to RX. The solution is to have a cable that swaps pins 2 and 3 or an easier way is to swap them on your pic circuit.

HTH

Mike.
Pommie is online now  
Old 27th October 2009, 11:45 AM   #4
Default

hi, i am doing a similar project. can you tell me what serial printer/pic you used? and what became of the result?
kristt2001 is offline  
Reply

Tags
data, pic, printer, receipt, sending, serial

Thread Tools
Display Modes




All times are GMT. The time now is 04:57 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker