Printer stopped working after upgrade 16.04 to 18.04 [duplicate]
I had a similar problem after upgrading to 18.04. The steps in this answer fixed it:
sudo rmdir /usr/share/ghostscript/9.25/iccprofiles
sudo apt-get install --reinstall libgs9-common
I also had problems on two different computers with two previously working Canon printers on 16.04, also connected via USB. After a distro upgrade to 18.04 neither worked. This was two different computers, and two different cannon model printers (one MX and one IP).
On both systems had CUPS service crashing showing error:
"error: Failed to create /var/spool/cups/tmp/.hplip"
Sure enough permission issues were present.
Used fix:
sudo apt remove hplip
sudo apt install hplip
CUPS was then running but issue persisted. Found errors using "cat /var/log/cups/error_log | tail" Each system had different errors. One "filter failure", the other "Dirty files". but both were fixed after fix mentioned by musashiXXX
sudo rmdir /usr/share/ghostscript/9.25/iccprofiles
sudo apt-get install --reinstall libgs9-common
Worked like a charm. Not sure if the purge/reinstall would have worked to start with.