Printer function

configname: CONFIG_USB_CONFIGFS_F_PRINTER

Linux Kernel Configuration
└─>Device Drivers
└─>USB support
└─>USB Gadget Support
└─>Printer function
In linux kernel since version 3.10 (release Date: 2013-06-30)  
The Printer function channels data between the USB host and a
userspace program driving the print engine. The user space
program reads and writes the device file /dev/g_printer<X> to
receive or send printer data. It can use ioctl calls to
the device file to get or set printer status.

For more information, see