PageSetup.header_distance property. Returns or sets the distance (in points) between the header and the top of the page.... doc = aw . Document () builder = aw . DocumentBuilder...builder . page_setup . paper_size = aw . PaperSize . LEGAL builder ...