I upgraded to Ubuntu 12.10 64 bit and it does not print again. I set GUFW to allow the CUPS service to print and I installed apparmor-profiles and I set the usr.sbin.cupsd to enforce this profile. I added port 631 in CUPS. It's not printing. When I viewed the attributes during a print job, it keeps saying that the printer is not connected. I also set the usr.sbin.cupsd profile to complain mode and it still does not print.

I had this problem when I upgraded from Ubuntu 11.10 64 bit to Ubuntu 12.04 LTS. Every time I upgrade to a newer Ubuntu version, printing does not work.

Can someone help me to figure out how to solve this problem so that I can print?