Author Topic: Development of Arduino Mega ADK USB driver for Epson LQ-310 printer  (Read 48 times)

vamshi

  • Member
  • ***
  • Posts: 1
Hello,

At the moment, I am engaged in a project in which I have to drive Epson LQ-310 printer with Arduino Mega ADK (USB Host). There is already a library USB_Host_Shield_2.0 on Github which includes usb drivers for keyboard, flash drive etc. but not for a printer.

I am thinking to modify the current header files (adk.h and adk.cpp) based on Android drivers to suit for a printer. Do the things workout in this way?

Could anyone of you please suggest me the things to modify to achieve the required functionality?

Thank You

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 2803
    • Lakeview Research
Re: Development of Arduino Mega ADK USB driver for Epson LQ-310 printer
« Reply #1 on: March 22, 2019, 10:18:26 am »
You will need to provide a USB host printer driver. This might help:

https://github.com/harlequin-tech/arduino-usb/blob/master/LUFA/Drivers/USB/Class/Host/Printer.h

But you might find it easier to just use a serial printer.