The installer usually detects your Windows version automatically. If not, manually select Windows 10 or Windows 11.
If your driver is corrupted, perform a clean removal: thermal printer jk-5801h driver