I have made a USB thermal printer which generates the
/dev/usb/lp0 nod in
echo "Test PrintSlip" /dev/usb/lp0 works fine. I would also want to print from text editors using Ctrl + P, which doesn't work currently.
How can I add this USB Printer (
/dev/usb/lp0) to printer list when print command is given in any application?