'Alter default header/footer in WINDOW mode when printing to pdf

Similar to

Alter the default header/footer when printing to PDF

, but im trying to alter the default header and footer in window mode. Specifically, I want to edit the date section. I found

https://github.com/chromium/chromium/blob/master/chrome/browser/resources/print_preview/data/model.ts

to be the source code of chromium, but it seems the only supported argument i can pass is isHeaderFooterEnabled, which is a boolean.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source