How to turned the printer online?

I trying to print something online, but the printer is offline. I using Lenovo computer to try to print something. What should I do?

1 - Open System Preferences by clicking on the icon in the Dock.

2 - Go to the Print & Fax control panel under the Hardware category.

3 - Select the printer you want to take online from the list on the left side of the screen. Then click on the "Open Print Queue" button.

4 - Click on the "Resume Printer" button at the top of the queue window to change the printer from offline to online