Adaptive Image Processing Algorithms for Printing