How do you insert headers and footers in Calc?

How do you insert a header and footer in Calc? In MS Word, it is done in the print menu.

Thanks.

Headers (and Footers) in Calc

For simple files I use sometimes print-preview, where you may find a toolbar with access to “Format page”, if header/footer is not to your liking.