Antonio Dimascio dialled 999 when he started experiencing leg pain on December 7, 2018.
After an ambulance arrived at his property, in Arbury, Cambridge, medics noticed the pictures of young girls – some in provocative poses wearing underwear and others naked.
They took the 56-year-old to hospital for treatment, but also reported him to the police.
Officers then searched Dimascio’s home, seizing the images, some of which had been printed at a local supermarket.
A number of electrical devices were also seized.
In a police interview, Dimascio admitted printing some of the images at home and others at a self-service facility at a local supermarket.
On Friday (November 13), at Cambridge Crown Court he was given an 18-month community order, a five-year Sexual Harm Prevention Order, placed on the Sex Offenders Register for five years and ordered to complete 30 days of rehabilitation activity requirement