layout optimisation for printing