I found this topic via google search. I see that it was resolved five years ago, but I felt it necessary to clarify something from the original post:
Originally Posted by Maskkkk
then I typed:
to which the prompt displayed:
-su: enable: SONYPRINTER: not a shell builtin
This doesn't seem right to me and this is probably why it doesn't work.
'enable' is a builtin bash command. It's used to enable or disable other builtin bash commands (like cd, kill, pwd, set, and more
. Execute 'enable -a' to get a full listing).
Use 'which' or 'whereis' to find the path to the cups 'enable' command then execute it, for example:
# which enable