Predicting solar spectra using broadband EUV irradiance measurements