From 000edd9b01b17cd12745635497aaa625378f8fdc Mon Sep 17 00:00:00 2001 From: KB Bot Date: Tue, 11 Mar 2025 14:10:46 +0000 Subject: [PATCH 1/3] Added new kb article pdfviewer-remove-print-header --- .../pdfviewer-remove-print-header.md | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 knowledge-base/pdfviewer-remove-print-header.md diff --git a/knowledge-base/pdfviewer-remove-print-header.md b/knowledge-base/pdfviewer-remove-print-header.md new file mode 100644 index 000000000..9e46595ce --- /dev/null +++ b/knowledge-base/pdfviewer-remove-print-header.md @@ -0,0 +1,34 @@ +--- +title: Remove Printed Page Header +description: Learn how to remove the header/footer information when printing a PDF document in PDFViewer for Blazor. +type: how-to +page_title: How to Remove the Header Label +slug: pdfviewer-kb-remove-print-header +tags: pdfviewer, print, headers, footers +res_type: kb +ticketid: 1681329, 1617601, +--- + +## Environment + + + + + + + +
ProductPDFViewer for Blazor
+ +## Description + +When printing a PDF file using the [PDFViewer for Blazor](slug:pdfviewer-overview), 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. In the print dialog, click on **More settings**. +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. From 0cb1dabd500a3602c098463eaa90d8c382f10978 Mon Sep 17 00:00:00 2001 From: Hristian Stefanov <72554148+xristianstefanov@users.noreply.github.com> Date: Tue, 18 Mar 2025 16:32:07 +0200 Subject: [PATCH 2/3] Update knowledge-base/pdfviewer-remove-print-header.md Co-authored-by: Tsvetomir Hristov <106250052+Tsvetomir-Hr@users.noreply.github.com> --- knowledge-base/pdfviewer-remove-print-header.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/knowledge-base/pdfviewer-remove-print-header.md b/knowledge-base/pdfviewer-remove-print-header.md index 9e46595ce..40055fed3 100644 --- a/knowledge-base/pdfviewer-remove-print-header.md +++ b/knowledge-base/pdfviewer-remove-print-header.md @@ -2,7 +2,7 @@ title: Remove Printed Page Header description: Learn how to remove the header/footer information when printing a PDF document in PDFViewer for Blazor. type: how-to -page_title: How to Remove the Header Label +page_title: How to Remove Print Page Header and Footer slug: pdfviewer-kb-remove-print-header tags: pdfviewer, print, headers, footers res_type: kb From 236dc139df5b11e3969340421460b2797cb87e20 Mon Sep 17 00:00:00 2001 From: Hristian Stefanov <72554148+xristianstefanov@users.noreply.github.com> Date: Tue, 18 Mar 2025 16:32:14 +0200 Subject: [PATCH 3/3] Update knowledge-base/pdfviewer-remove-print-header.md Co-authored-by: Tsvetomir Hristov <106250052+Tsvetomir-Hr@users.noreply.github.com> --- knowledge-base/pdfviewer-remove-print-header.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/knowledge-base/pdfviewer-remove-print-header.md b/knowledge-base/pdfviewer-remove-print-header.md index 40055fed3..305fba657 100644 --- a/knowledge-base/pdfviewer-remove-print-header.md +++ b/knowledge-base/pdfviewer-remove-print-header.md @@ -28,7 +28,7 @@ When printing a PDF file using the [PDFViewer for Blazor](slug:pdfviewer-overvie 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. In the print dialog, click on **More settings**. +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.