Display the page breaks and print ranges in the sheet. Choose View - Normal to switch this mode off.
Choose View - Page Break.
Defining Number of Pages for Printing
The context menu of the page break preview contains functions for editing page breaks, including the following options:
Deletes all manual breaks in the current sheet.
Adds the selected cells to print ranges.