Hello DanielMazurek, welcome to the Microsoft community, I'll be happy to help you today;
I understand that you are having problems with the Print Spooler in Windows 10 and 11;
What exactly is the model and manufacturer of your printer?
Initially I recommend that you try the methods provided in the link below:
https://softwarekeep.com/help-center/fixed-prin...
Disclaimer: There are links to non-Microsoft sites. The pages appear to provide accurate and secure information. Watch out for ads on websites that may advertise products that are often classified as PUPs (Potentially Unwanted Goods). Thoroughly research any product advertised on the websites before deciding to download and install it.
Hope this helps, see you soon!