RadEditor does not offer the required feature because the HTML markup is just a string
and it is not possible to determine the content height and when the page ends.
In addition if you print the content using the document.execCommand("Print");
command which is actually the only print command provided by the browser, then please note that you cannot edit the page header and footer
. They are set by the browser and cannot be edited.
RadEditor is using a third party tool to provide HTML to PDF conversion functionality, which have some limitations. The tool that is used does not offer the required functionality. It is possible to set only page title using the RadEditor's inner tag ExportSettings, but it could be plain text only and does not support any formatting,
"Sample page title"
You can try our Telerik Reporting tool
which offers the required Page Header and Page Footer
features. You should note that the Reporting tool supports only a subset of HTML tags listed in the following help article: HtmlTextBox
All the best,
the Telerik team