When you print a map using the web app builder template you cannot tailor your legend very much. If you have many layers then the print tool will add what it can and then cut the rest out. There should be two options to resolve this. Add legend on separate page and have an extent based legend.