Question: how to change a printer from offline?
Answer: Open Windows Settings (Win + 1)
Navigate to Devices > Printers and Scanners.
Select the printer of which you want to change the status, and then click on Open queue.
In the Print Queue window, click on Printer Offline. ... 
Confirm, and the status of the printer will be set to online.