In an electrophotographic printer, a photoconductive drum is scanned with a light spot provided by scanning light sources to electrostatically form a latent image with dot on it. The light sources comprise at least two LED print heads different in linear density are provided to print out data different in linear density on one and the same page.