I am trying to print an ordinary PDF file with some filled table in it from the bash terminal. When I do it as root
everything is okay, but when I trying to print it as non-root
user I see only tables border lines and graphics printed with no text at all.
I ended up here after hours or researching in the web. Could anyone help please?
I am using the following command to print the file:
lp -d MG2500 /path_to_the_file
I thought that the non-root user should have an access to the fonts. I gave him the permissions with the following commands:
setfacl -m u:User:rx /usr/share/fonts
setfacl -m u:User:rx /usr/share/fonts/*
but with no success. The result was the same: The printer did not print any letters. Only tables border lines and graphics.
My system is: Ubuntu Server 23.04
My printer is: Canon MG2540S (driver MG2500)