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 ?
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