Once in a day, my network printer stopped working. All he was printing on a paper was:
ERROR: typecheck OFFENDING COMMAND: idiv
A quick look to the cups service turned out the following message.
systemctl status org.cups.cupsd.service
error: Failed to create /var/spool/cups/tmp/.hplip
If you run into this problem, it is an easy one.
Do a "df -h | grep /var" and with a high chance, you will see a "100%" or something close by right before "/var". So whats the problem? Your "/var" is running out of disk space. Use a tool like "ncdu" to check what can be removed. Printing should work right after fighting the disk space issue.