Printer class
Overview
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.
Key features
- Handling of multiple printers at the same time
- Notifications about printer connection status
- Ability to query the printer operating status and its device ID
- Small footprint
Application Samples emUSB-Host Printer
Printer
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.
Requirements
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)
- Real-time operating system (embOS or other)