How to interface USB printer to frdm-kl25z ?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to interface USB printer to frdm-kl25z ?

737件の閲覧回数
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 返信

628件の閲覧回数
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 件の賞賛
返信