Safari (and possibly Google Chrome) don't seem to print the url and page title on every page on some websites. This seems to be due, in at least some cases, to css for print media specifying a margin that covers or doesn't allow space for the header and footer.

In developer mode, Inspect element on some element in the page, click on css page in style attribute pane, search for "@media print" and/or "@page" and look for margin. e.g. a shopify page had the css below in styles.css:


@media print {
    @page {
        margin:.5cm
    }

    p {
        orphans: 3;
        widows:3
    }

    html, body {
        background-color: #fff;
        color:#000
    }

    .print-giftcard, .apple-wallet {
        display:none
    }
}

Delete "margin:.5cm" in this example. Then print and the "print headers and footers" option should work when printing or with save to pdf.

-- compute page