'Fit the printed area to a specific number of pages both vertically and
horizontally.
Args:
width:  Number of pages horizontally.
height: Number of pages vertically.
Returns:
Nothing.'

def fit_to_pages(self, width, height):

    self.fit_page = 1
    self.fit_width = width
    self.fit_height = height
    self.page_setup_changed = True
