The USB class protocol for printers was defined for the handling of output devices, like printers and plotters. A printer connected to emUSB-Host is automatically configured. The implementation of the printer class forwards the print data to a connected printer. The actual print data has to be generated using printer specific codes.
Sample Application Included
An example application which uses the API is provided with any shipment or eval software including emUSB-Host. This example displays information about the printer and its connection status in the I/O terminal of the debugger. In addition the text "Hello World" is printed out at the top of the current page when the first printer connects.
Components required to use emUSB-Host Printer:
- emUSB-Host Printer (Included in emUSB-Host PRO package)
- emUSB-Host core (Included in emUSB-Host PRO package)
- emUSB-Host target driver (One driver is included in emUSB-Host PRO package)
- RTOS (embOS)