Rework of printing area calculation