you simply need to ship these commands via a stage-packages:
entry in your snap … either the cups or cups-control interfaces (not sure which of the two) will then give you access to the cups socket of the system so the tools can communicate with cupsd …
1 Like