Arduino to Printer through Parallel Port

Review PCL3 and see if there is any command to do what you want. That is the language the printer uses.

Paul

Works great on EPSON dot matrix receipt printer, can anyone please help me to modify this program that the Arduino receive serial data RS232 (through MAX3232) and print it out to this LPT printer.

This would be a kind of a serial to LPT converter where we can add some extra lines before and after the receipt. (Header with date and time... footer with contacts and cut paper ESC codes)

peterb1975: Works great on EPSON dot matrix receipt printer, can anyone please help me to modify this program that the Arduino receive serial data RS232 (through MAX3232) and print it out to this LPT printer.

This would be a kind of a serial to LPT converter where we can add some extra lines before and after the receipt. (Header with date and time... footer with contacts and cut paper ESC codes)

I have done exactly that here: https://forum.arduino.cc/index.php?topic=524017.0

I can send you / post the final code if you need it.

SilverGreen93: I have done exactly that here: https://forum.arduino.cc/index.php?topic=524017.0

I can send you / post the final code if you need it.

If you do not mind, you could post (attach) the final code here too

Sure, for anyone interested, the project code is here: https://github.com/SilverGreen93/USB-Centronics

Thank you guys!!! Youve been of great help! I've been looking to blow new life in my old dot matrix printer in the basement. I want to use the printer in a retro type style to print selected tweets and or breaking news,etc. Just for fun. Hopefully there will be a complete dot matrix library available ( unless I overlooked it) sometime soon. But again, thank you guys (and girls :D) and of course Arduino!!!

Wessie: Thank you guys!!! Youve been of great help! I've been looking to blow new life in my old dot matrix printer in the basement. I want to use the printer in a retro type style to print selected tweets and or breaking news,etc. Just for fun. Hopefully there will be a complete dot matrix library available ( unless I overlooked it) sometime soon. But again, thank you guys (and girls :D) and of course Arduino!!!

Well, I use my adapter for printing text either from old PCs that support only serial adapters. If you want to print just text, there is not much else that you need. I tested it with Notepad, Word, even Excel and they all printed great in text-only mode. Even tested the adapter with an Amstrad CPC and Altair 8800. This is the reason I wrote the code for this adapter. If you want graphics and more, you need to make the PC software send the required commands via the serial port. Only if you plan to use the Arduino printer stand alone you need more library functions. Otherwise, it is the PC's job to send the correct data stream to the printer.