4

I checked for flags and extensions to no avail. According to this post, there seems to be no builtin option at the moment.

-2

You can change the center header by changing the content of the <title> tag in the HTML source before printing (right click, choose inspect, expand the <head> tag, right click on the <title> tag and select "edit text"). The other header values cannot be changed, as the Google employee states in the post you linked in your question:

Currently there isn't a way to edit the header when printing a document. You can currently only turn the header and footer on or off which includes the date, name of the web page, the page URL and how many pages the document you're printing.

An alternative is to save the webpage as a PDF (without any headers or footers), and then manually add the headers and footers. I found this website that let you add headers and footers. Use it at your own risk. You might want to add custom margins when saving the webpage as PDF to avoid the footer and header overlaying with the webpage content. 0.5" as top and bottom margin seems to work. If you want to add headers and footers manually, you can look into the command line tool cpdf.

  • The question clearly refers to Chrome/Chromium. – 1.61803 May 19 '18 at 22:58
  • Yes, the answer also refers to Google Chrome. But since what you want is impossible (see the answer from the Google employee in the post you linked to in your question) I gave you some alternatives. I will remove the suggestion of using firefox. The last alternative only uses your file system in addition to Google Chrome. If that's not an option for you, I suggest making your own plugin. – Boye Borg May 20 '18 at 5:32
  • @1.61803 I updated my answer to more clearly answer your question. – Boye Borg May 20 '18 at 8:08
  • The post I linked to is two years old and my question just tracks the lack of feature, flags, extensions one year ago. Thanks for the write-up, especially cpdf, but your workarounds are cumbersome. – 1.61803 May 21 '18 at 12:39

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.