MicrosoftEdge / MicrosoftEdge/WebView2Feedback

[Problem/Bug]: PrintAsync for pdf files prints blank pages

Open
#5,577 12 comments 0 reactions 2 assignees View on GitHub

@prija-microsoft is already working on this.

Since Jun 10, 2026.

bug regression
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

What happened?

PrintAsync for pdf files prints blank pages. This issue existed in the past (#3779, which was closed).
We are happy to pass any more details or help diagnosing.

Details:

<TargetFramework>net10.0-windows10.0.19041.0</TargetFramework>    
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
Microsoft.Windows.SDK.BuildTools 10.0.28000.1839
Microsoft.WindowsAppSDK 2.0.1
Runtime 147.0.3912.98
Framework .Net10
OS: Windows 11
Importance

Blocking. My app's basic functions are not working due to this issue.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

143.0.3650.80

SDK Version

2.0.1

Framework

WinUI3/WinAppSDK

Operating System

Windows 11

OS Version

26100.8246

Repro steps
_WebView.CoreWebView2.Navigate(PathToFile.pdf);
_WebView.CoreWebView2.PrintAsync();
Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

Regression in newer Runtime

Last working version (if regression)

142.0.3595.80

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.