Skip navigation

emUSB-Host Printer

  • 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

The emUSB-Host Printer class allows the communication with any printer that supports the USB printer class protocol specified by the USB Implementers Forum.



About Printer Class

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.

Application Samples emUSB-Host 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.


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)