Lexmark stopped supporting that printer model in Windows 8, While you may have been able to use that printer in Compatibility mode in Windows 10 even after it was upgraded to Windows 11 that may not be possible in a new Windows 11 device.
What happens if you download the Windows 8 drivers from the Lexmark website, then right click the installer and choose to run it in Compatibility Mode, what error is indicated.