Kindly restart your printer and check if your printer is back.
You can perform a power cycle :
Follow these steps for a USB printer:
1.Switch off the printer and remove the power chord from the wall jack.
2. Remove the power chord, USB and any other wire attached to the printer.
3.Press and hold the power button for 30 seconds and then release it.
4. Attach all the chords and try printing
For wireless printer , follow the above steps and connect the wireless to the printer manually.
If you still have any trouble in printing , please revert , make a note of the error if you get any.