New to Telerik UI for BlazorStart a free 30-day trial

Remove Printed Page Header

Environment

ProductPDFViewer for Blazor

Description

When printing a PDF file using the PDFViewer for Blazor, an "about:blank" title appears at the top and bottom of the printed paper. This article demonstrates how to remove the "about:blank" label and any other header or footer information from the print output.

Solution

The PDFViewer component utilizes the standard browser printing engine, which includes an option to hide the header and footer. These sections often contain the application's name, printing timestamp, page numbers, and the URL, including "about:blank". To remove this information, perform the following steps upon initiating a print:

  1. Click on the Print button in PDFViewer to open the print dialog.
  2. Select More settings in the print dialog.
  3. Uncheck the box labeled Headers and footers.

By unchecking the Headers and footers option, you will remove the "about:blank" label and any other default header or footer information from your printed output.

In this article
EnvironmentDescriptionSolution
Not finding the help you need?
Contact Support