Note that I have renamed the slots of the CUPS Snap from printing
and admin
to cups
and cups-control
, to do it the standard way as slots have the same names as their respective plugs, as of the discussion here.
I have updated the sample command lines in my initial posting appropriately. If you have already installed the CUPS Snap, please update your CUPS Snap via
sudo snap refresh --edge cups