Safari for Mac: Print webpages from Safari
When printing or creating a PDF of a webpage, you can include its background image and color, and show the web address and date in headers and footers.
Choose File > Print.
Click the options pop-up menu (in the separator bar), choose Safari, then set the webpage printing options.
If you don’t see the options pop-up menu in a separator bar to the right of the page preview, click Show Details at the bottom of the Print dialog.
To create a PDF of the webpage, click PDF at the bottom of the dialog, then choose what you want to do with the PDF.