Optimize layout on printed pages