A computer program product for optimizing load image generation in an electrophotographic process wherein a light-sensitive and temperature-sensitive photoconductor layer are provided for exposure pixel-by-pixel with a temperature-sensitive light source, the photoconductor layer being more sensitive with rising temperature such that given a predetermined quantity of light and predetermined charge it discharges deeper, and the light source emitting a lesser luminous power with rising temperature given a same actuation power, said computer program product comprising:
- a program on a computer readable media;
- and
- said program
- providing temperature compensation for the photoconductor layer by controlling at least one of an adaption of current flowing through the light source and an adaption of exposure time of the light source,
- providing temperature compensation for the light source by at least one of correcting current flowing through the light source and changing exposure time,
- for said temperature compensation of the photoconductor layer controlling provision of a measuring event in which a discharge depth of the photoconductor layer is predetermined given predetermined luminous duration and predetermining current through the light source,
- using a temperature of the light source measured in the course of the measurement event as a reference value for the temperature compensation of the light source, and
- holding light energy of the light source constant between successive discharge depth measurements.