If your printer is showing as Offline, try removing and adding the printer again:
- Go to Settings > Bluetooth & devices > Printers & scanners.
- Select your printer and choose Remove.
- Restart your computer.
- Return to Printers & scanners and select Add device to add the printer again.
If Windows still shows the printer as offline after adding it again, please informe the printer model.