Connecting a printer to an Arduino?

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
richms
 
Posts: 558
Joined: Tue Jan 20, 2009 3:05 am

Re: Connecting a printer to an Arduino?

Post by richms »

I dont recall seeing upsidedown in the command set, if its just constant things then there is windows software to upload several images that you can print with a control character.

If you have to move to using bitmap mode like windows does the serial interface is way way way too slow for that - your not going to be doing any car racing games on reciept paper over serial if you have to print in graphical mode.

short
 
Posts: 5
Joined: Fri Sep 02, 2011 10:20 am

Re: Connecting a printer to an Arduino?

Post by short »

richms wrote:I dont recall seeing upsidedown in the command set, if its just constant things then there is windows software to upload several images that you can print with a control character.
I figured that out in the meantime: It is ESC {

Or, if you'd like to add it to uberhunds set of Characters:

char upSideDownON[]={0x1b,'{',0x01};
char upSideDownOFF[]={0x1b,'{',0x00};

It works fine with the Epson TM-T88II

I haven't figured out the bitmap printing with ESC POS yet, I think I might be messing up the data for the ESC * command.


Regards,

short

spearson78
 
Posts: 1
Joined: Mon Apr 29, 2013 7:08 am

Re: Connecting a printer to an Arduino?

Post by spearson78 »

I've written a printer driver to control the Epson M-190 printer mechanism form an Arduino UNO.

There is a demo here

http://www.youtube.com/watch?v=yWz-9c-K ... e=youtu.be

and the source code is available on github.

https://github.com/spearson78/arduino-m190

User avatar
uberhund
 
Posts: 154
Joined: Tue Dec 02, 2008 4:06 pm

Re: Connecting a printer to an Arduino?

Post by uberhund »

Nice work, Spearson78. In fact, uber nice. Counter top real estate is critical in my case - your solution really brings the footprint down.

musiccankill
 
Posts: 1
Joined: Wed May 08, 2013 7:48 am

Re: Connecting a printer to an Arduino?

Post by musiccankill »

Hello!!
I tried to enter the page for the m190 printer and the page has been deleted...
Does anybody have the library or knows where i can download it?
Thanks a lot in advnace..!

User avatar
Vamshich253
 
Posts: 2
Joined: Mon Mar 18, 2019 4:00 am

Re: Connecting a printer to an Arduino?

Post by Vamshich253 »

Hi Guys,

At the moment, I am looking to drive a Epson LQ-310 impact dot matrix printer with Arduino Mega ADK through USB using UHS2.0 library.

Unfortunately, the blog posted by rufruf is deleted.

Could anyone please help me regarding this on how to achieve this?

Thank You.

Locked
Please be positive and constructive with your questions and comments.

Return to “Microcontrollers”