Creating a PDF file is technically almost the same as printing the document. Thus all options and adjustments available for printing also are adaptable for the creation of a PDF file.
How to create a PDF file
Use Menu > File > Export As PDF…
How to setup a page for printing
Use Menu > File > Page Setup…
Hints