printer prints black pages with white text
After updating to macOS Sonoma 14.0 my iMac (2019) started to print black pages with white text now and again. Only the outlines of the letters are "printed" in white. Otherwise everything in the printable area of the pages is black.
How do I get rid of this problem?