How to interface USB printer to frdm-kl25z ?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to interface USB printer to frdm-kl25z ?

732 次查看
prabalvarshney
Contributor I

I am using frdm-kl25z . I want to interface USB printer to it. I am using USB library provided by KSDK. I found some host side examples for MSC and HID. I tried to change class in MSC example to Priner class and able to detect Printer. How can I communicate with Printer and send commands ? 

0 项奖励
回复
1 回复

623 次查看
jorge_a_vazquez
NXP Employee
NXP Employee

Hi Prabal varshney

Sorry for the late reply. Actually there is a usb-printer demo example that supports the PJL and postscript for printers. You can find this example in the newest KSDK libraries (KSDK 2.0), You can build and download it in the next link:

Welcome to MCUXpresso | MCUXpresso Config Tools 

After you unzip the package in your computer, the example is located in <SDK_2.0_FRDM-KL25Z_path>\boards\frdmkl25z\usb_examples\usb_host_printer_plain_text

Hope this information could help you

Best Regards

Jorge Alcala

0 项奖励
回复