USB printer package

Frank Pagliughi fpagliughi@mindspring.com
Fri Aug 15 21:16:00 GMT 2008


Here's a USB printer package, similar to the USB serial package. It can 
enumerate as a Unidirectional printer (one Bulk OUT endpoint) or a 
Bidirectional printer (one Bulk OUT and one Bulk IN endpoint).

This isn't as generally useful as the serial package, but can server as 
the basis for an actual printer or some other device that wants to 
appear like a printer to the host. As such, I didn't include any host 
drivers. Those would probably have to be specific to the actual device 
created. But there is an example program that accepts data from a host 
sends it out a serial port. On insertion to a host, the user can 
manually select any printer driver, and see the raw data output when a 
document is printed.

I tested with an AT91SAM7S-EK eval board.

Frank
-------------- next part --------------
A non-text attachment was scrubbed...
Name: usbprinter.patch
Type: text/x-patch
Size: 46663 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-patches/attachments/20080815/65ce4fb3/attachment.bin>


More information about the Ecos-patches mailing list