Article 5RC56 Printer's /dev/usb/lpx file is not shown on ubuntu mate 20.04

Printer's /dev/usb/lpx file is not shown on ubuntu mate 20.04

by
DJ541
from LinuxQuestions.org on (#5RC56)
Hello all linux user!
On ubuntu mate 18.04 I used to send data in hexadecimal representation into a usb thermal printer with this command:

cat cmds.txt > /dev/usb/lp0

I used as well sending the printing esc/p commands to this file from my program.

I upgraded to ubuntu mate 20.04 and realized, that the lpx file (belonging to the printer) does not appear in the /dev/usb folder, like on ubuntu mate 18.04. I have googled a little bit and found, that

dmesg | grep usblp

command should provide some useful information about connection of the printer. I am not skilled at this area, therefore I do not use proper terms at this point.

With its usage I realized, that: On Ubuntu 20.04 the output is :

$ dmesg | grep usblp
[ 17.634888] usblp 3-3:1.0: usblp1: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04F9 pid 0x209D
[ 17.634950] usbcore: registered new interface driver usblp
[ 35.318303] usblp1: removed

while on Ubuntu 18.04 the log does not end with removed keyword and the lpx file shows in the expected path. The printer shows in output of lsusb on both systems:

$ lsusb
Bus 003 Device 003: ID 04f9:209d Brother Industries, Ltd QL-820NWB P-touch Label Printer

I suspect that on ubuntu 20.04 there is some process removing the usblp. Since the usblp should be responsible for creation of lpx files, they do not show up.

My question is, how to get usblp working to show lpx files on ubuntu mate 20.04?

Thank you.latest?d=yIl2AUoC8zA latest?i=q6zMTjHi6U0:qZq3pN2jeLo:F7zBnMy latest?i=q6zMTjHi6U0:qZq3pN2jeLo:V_sGLiP latest?d=qj6IDK7rITs latest?i=q6zMTjHi6U0:qZq3pN2jeLo:gIN9vFwq6zMTjHi6U0
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments