Notes on creating PDF document from HTML

To ensure page-break before an HTML element, when printing HTML to pdf in Chrome, use style="page-break-before: always" . Example: 
    <h2 style="page-break-before: always">
      Technical Areas worked on while in Software Industry from 1984 to 2002
    </h2>
----
...
Customizing the header and footer while using print to PDF in Chrome does not seem to be possible. Ref: https://superuser.com/questions/1185459/modify-page-header-and-footer-when-printing-in-chrome
...

The HTML can be edited in Word 2007, after which page breaks can be inserted and footer with page number (predefined option) can be chosen. Page number insert is greyed out. Don't if footer edit works. But basic need to page break and page number seems to be possible with Word. Could not get easy option to do this with free online HTML to PDF utils.
...

https://www.ilovepdf.com/add_pdf_page_number is free utility to add page number to PDF. Seems to do the job for my needs.
...
Chrome extension, "Black and White" to turn off foreground and background colours of webpage: https://chromewebstore.google.com/detail/black-and-white/amdnjmpcoialaikdldjbnkipmckdheie .
But print of page from Chrome after using above extension, breaks the links in the pdf!

Comments

Archive