Does the printer have a power feature by chance that allows the printer to go in to a power saving mode? If the printer works initially then you come back say a day later, check the printer to see if it's sleeping. Might wake it up by using a button on the panel to wake it. Then try SharePort.
What model printer do you have?
How are you connected to the router? Wired or Wireless?