To scale a document to fit into X pages, click the Scale button on the toolbar. The Scaling dialog will be invoked.
Set the required number of pages in the editor.
Click OK to save changes and close the dialog.
If you're working with a document loaded from file, you cannot use scaling.