Update the print driver for the device.
If you already have the latest driver, check the printer manufacturer’s website for device firmware updates
If you’re still having problems, uninstalling and reinstalling the printer may help.
Turn off the printer and disconnect the cables
Open the Settings app, go to “Bluetooth and devices” and select “Printers and scanners”.
Select the affected printer and select the option “Remove device”
restart the device
Turn on the printer and reconnect it to the device