Printing format calculation tool