Glass only transmits light in the very near UV. In optical equipment used with UV light fused quartz in used rather than ordinary glass.

Even if this idea could work the amount of light impinging on the paper would be rather small compared to a contact print. This would make exposure times very long.