When the printer driver shows device status as 'offline', you may go try to access the printer's web console (EWS Page) to check if printer is actually offline. Also try to PING the device to check availability of device in network.
Hope that the above mentioned steps will help you to isolate the issue.