I'm french and I don't speak english very good, so excuse my language mistakes
I'm going to try to print with an Arduino board.
I explain :
I've got an Arduino Mega 2560, a computer which it has an USB port and an old printer which it has a DB25 port.
USB is digital and DB25 is analogic. So I would like that my arduino could convert the prints that it receive in USB to the DB25 port from my printer.
(I print from my computer to my old printer via my arduino) or if you prefer (I print from my computer to my Arduino which it send it to my printer)
It's only for the fun and the people who will answer "buy a new printer" or others like that won't really help me.
Since the printer is old and has a 25 pin connector, it's likely RS232. If so, you'll need something such as a MAX232 to convert from the Arduino's TTL voltage to that appropriate to RS232 devices. Given that, a trivial sketch would collect data from the serial port and use softserial to push it out to the printer.
Okey. This is a HP Deskjet 710C. I tried a DB25->USB converter but that didn't work. I dont know how to plug the USB signal in so if I must use digital pins I Will use digital pins You're the chief You say DB25 isn't analogic, ok, I thougt it.