Skip to content

Commit 7528336

Browse files
github-actions[bot]KB BotxristianstefanovTsvetomir-Hr
authoredMar 20, 2025
Merge new-kb-pdfviewer-remove-print-header-dd3fb55dc1b34ba096179c0f8fcd870d-2819 into production (#2842)
* Added new kb article pdfviewer-remove-print-header * Update knowledge-base/pdfviewer-remove-print-header.md Co-authored-by: Tsvetomir Hristov <106250052+Tsvetomir-Hr@users.noreply.github.com> * Update knowledge-base/pdfviewer-remove-print-header.md Co-authored-by: Tsvetomir Hristov <106250052+Tsvetomir-Hr@users.noreply.github.com> --------- Co-authored-by: KB Bot <kb-bot@telerik.com> Co-authored-by: Hristian Stefanov <72554148+xristianstefanov@users.noreply.github.com> Co-authored-by: Tsvetomir Hristov <106250052+Tsvetomir-Hr@users.noreply.github.com>
1 parent ff6ad3e commit 7528336

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
title: Remove Printed Page Header
3+
description: Learn how to remove the header/footer information when printing a PDF document in PDFViewer for Blazor.
4+
type: how-to
5+
page_title: How to Remove Print Page Header and Footer
6+
slug: pdfviewer-kb-remove-print-header
7+
tags: pdfviewer, print, headers, footers
8+
res_type: kb
9+
ticketid: 1681329, 1617601,
10+
---
11+
12+
## Environment
13+
<table>
14+
<tbody>
15+
<tr>
16+
<td>Product</td>
17+
<td>PDFViewer for Blazor</td>
18+
</tr>
19+
</tbody>
20+
</table>
21+
22+
## Description
23+
24+
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.
25+
26+
## Solution
27+
28+
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:
29+
30+
1. Click on the **Print** button in PDFViewer to open the print dialog.
31+
2. Select **More settings** in the print dialog.
32+
3. Uncheck the box labeled **Headers and footers**.
33+
34+
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.

0 commit comments

Comments
 (0)
Failed to load comments.