as those that be hard coded at gate level asic or cpu are preferably used once the coarse energy setting is found the second step involves fine tuning the energy setting to find the optimal setting the printer is automatically set to the coarse value the initial coarse setting is taken from the high value of the saturation setting that was previously detected a small amount of energy may be added to ensure the printer is printing in the saturated region of the media printout a black box is printed using the coarse setting the black box should have a width larger than the sensor beam a step by step sampling of the leading and trailing edge of the box is done by the sensor to obtain a gradient curve for leading and trailing edge of the printout using the sensor the trailing edge is measured to determine the undetectable u201c black u201d area the steps are repeated with decreasingly lower energy settings until a u201c gradient u201d has been acquired these steps are based on the leading and trailing edge slopes adjustments are made to find the optimum point for balancing the slopes against each other using the two sets of gradients and the optimum balance between the two is calculated balancing choices are dependent on.