PageSetup.line_number_distance_from_text property. Gets or sets distance between the right edge of line numbers and the left edge of the document....restart the numbering on each new page from 1 and display the number...of the line. page_setup = builder . page_setup page_setup . line_starting_number...