Hi Li,
The NXP Linux BSP doesn’t include printer class support as Device, however, it could be added using the hardware layer USB driver already included. From a software side, you could take a look at the printer support provided by the gadget API; you could check the following links:
http://www.linux-usb.org/gadget/
https://github.com/torvalds/linux/blob/master/drivers/usb/gadget/legacy/printer.c
Hope this will be useful for you.
Best regards!
/Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------