PORTS Forum
Ports and Interfaces => USB => Topic started by: vamshi on March 22, 2019, 03:29:53 am
-
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
-
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.