I independently came to the same solution, and when going to post it to the forum, I found this post… anyway, I would suggest editing /etc/apparmor.d/local/usr.sbin.cupsd
instead and you just need to add the line
/dev/pts/1 rw,
there. This way, you keep the original file intact.