cancel
Showing results for 
Search instead for 
Did you mean: 

USB host bulk transfer to printer from stm32. USB HOST Printer

Fayaz.1
Associate II

Hi, i'm trying to control a barcode printer with STM32F105VCT6 with USB. The printer is godex EZ-1005. When i plug usb cable usb state comes to APPLICATION_START from APPLICATION_IDLE.

According to this document. (Page 6) i need to send Standard Requests and Class-Specific Requests. I looked with usb analyzer program while printing with pc but i couldn't analyze this raw data 0693W00000Bbyy5QAB.png

I'm not familiar with usb protocol so i don't know how to send printer comands to printer over usb. I coundn't find any example or guide.

Do you have any solution or suggestions?

1 ACCEPTED SOLUTION

Accepted Solutions

Hello @Fayaz.1​ ,

Unfortunately, the USB HOST printer class is not supported by ST until today. Maybe it will be supported in the future.

Otherwise, take a look at the following links. They may help you.

https://www.openstm32.org/forumthread6673

https://community.st.com/s/question/0D50X00009XkaNSSAZ/usb-printer-class

BeST Regards,

Walid

View solution in original post

1 REPLY 1

Hello @Fayaz.1​ ,

Unfortunately, the USB HOST printer class is not supported by ST until today. Maybe it will be supported in the future.

Otherwise, take a look at the following links. They may help you.

https://www.openstm32.org/forumthread6673

https://community.st.com/s/question/0D50X00009XkaNSSAZ/usb-printer-class

BeST Regards,

Walid