The emUSB-Host Printer class allows the communication with any printer that supports the USB printer class protocol specified by the USB Implementers Forum.
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.
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.