You don't have permissions as a regular user to view the contents of the /var/spool/cups directory; `sudo ls` gave `ls` the permissions to view the contents, but your regular-user shell failed to read it when it tried to expand the `/var/spool/cups/*` wildcard, so it passed that string through verbatim to `rm`, which complained about that lack of a file named (precisely) `/var/spool/cups/*`.
Gather the actual filename(s) first, then pass them to `sudo rm`.