We need some more information please:
Firstly ,what are you printing FROM?
i.e. are you using (say) a desktop computer to print both documents and photos, or (say) an Android device (such as a tablet) for one or both of them?
Next, what are you printing WITH?
i.e. (assuming, for the purposes of my example, that you're solely using a Windows computer) are you printing documents from (say) Microsoft Word but photos from (say) Windows Picture Viewer?
Then, HOW does your device (or 'do your devices', as applicable) connect to your printer?
i.e. are you (for example) using a wireless connection from your PC to your router, and then a further wireless connection from the router to the printer or (again, for example) connecting one device directly to your printer (without going via your router) using a cable or a wireless facility such as AirPrint?
Lastly, when your new router was installed did you remember to reconfigure the printer so that it searched for the router and allowed you to enter its Security Key? (It might also help to tell us the make & model of the printer)?