Shotout to linux gurus. Permission exception

I have a thermal printer that I am trying to configure with my Raspberry Pi 3b. I have a Wildfly server running a java app and I am trying to use this driver https://github.com/fintrace/tspl2-driver/blob/master/README.md to communicate with the printer using the TSPL language.

Whenever I try to call connect I get an exception saying Permission denied: not enough priviledges.

I tried to add a new permission in /lib/udev/rules.d

SUBSYSTEM=="usb", ATTR{idVendor}=="20d1", ATTR{idProduct}=="7001", MODE="0666", GROUP="wildfly"

And then run udevadm control --reload-rules to reload the rules but still no success.

I even tried to run

sudo chown...

Read More »

By: StackOverFlow - 7 days ago

Related Posts