I try to connect a POS printer with my Raspberry PI 3B. In my opinion, the printer should appear under /dev/usb/lp* or /dev/ttyUSB* or /dev/ttyACM* after connecting. At the moment I can't find the printer under /dev/*

I don't want to use CUPS, I only need to send raw data directly to the printer.


[48728.552601] usb 1-1.1.3: new full-speed USB device number 7 using dwc_otg
[48728.694751] usb 1-1.1.3: New USB device found, idVendor=0416, idProduct=5011
[48728.694764] usb 1-1.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[48728.694773] usb 1-1.1.3: Product: POS58 USB Printer
[48728.694781] usb 1-1.1.3: Manufacturer: GD32 Microelectronics
[48728.694789] usb 1-1.1.3: SerialNumber: Printer
[48733.772671] usblp: can't set desired altsetting 0 on interface 0

I can't find anything in the internet about the usblp error.

lsusb output

But with python I can access the printer. This scripts is working: https://github.com/vpatron/usb_receipt_printer/blob/master/usb_receipt_printer_demo.py

Does someone have an idea how to manage to see the printer in /dev/* ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy