Print header fields are not displayed

Using the format designed by print designer, when printing a sales order, the table header is displayed as in Figure 2

The correct header format is Figure 1