Generic printing using a USB port

可紊 提交于 2019-12-21 21:39:05

问题


I am developing on a device that has no printer support natively. I need to print to any printer using a USB port. Is this feasible? Is there any generic standard for all printers to print via USB?

The device runs on Linux/PowerPC.


回答1:


Sure.

There's the USB Printer Class (PDF, 11 pages). It seems to require that the host present data to the printer in either PDL or PCP formats. Remember that USB printers are generally "dumber" than Ethernet-connected printers, and require the host to do more work.

For the embedded world, you might be interested in Microchip's Application Note AN1233 (PDF, 22 pages), titled "USB Printer Class on an Embedded Host".



来源:https://stackoverflow.com/questions/1519283/generic-printing-using-a-usb-port

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!