The -a cancels all jobs, and -x removes them entirely, including any active connections. For a GUI approach, open → select printer → Open Print Queue → right-click and reset, but the terminal command is more reliable.