Add new Print function to wxWebView that takes custom printer settings (PR #26239)

9 views
Skip to first unread message

Blake-Madden

unread,
Feb 24, 2026, 6:51:57 AM (yesterday) Feb 24
to wx-...@googlegroups.com, Subscribed

Supports Edge, GTK, and macOS backends. IE and Chromium backends silently fallback to default Print().

Tested under Windows 11, macOS Tahoe, and Linux Mint.


You can view, comment on, or merge this pull request online at:

  https://github.com/wxWidgets/wxWidgets/pull/26239

Commit Summary

  • 8ffca76 Add new Print function to WebView that takes printer settings
  • 6fe4b36 Fix GTK backend to handle page information
  • ee3e9bb In sample, only show header/footer prompt under Windows

File Changes

(11 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26239@github.com>

Blake-Madden

unread,
Feb 24, 2026, 6:55:38 AM (yesterday) Feb 24
to wx-...@googlegroups.com, Subscribed
Blake-Madden left a comment (wxWidgets/wxWidgets#26239)

Under Linux Mint, I noticed that printing as landscape to a PDF renders blank pages, but I get the same effect when calling the original Print() function too. I'll explore that issue separate from this.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26239/c3951212972@github.com>

Blake-Madden

unread,
Feb 24, 2026, 4:58:50 PM (yesterday) Feb 24
to wx-...@googlegroups.com, Push

@Blake-Madden pushed 1 commit.

  • c006fcf Add missing overrides in other backends


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/26239/before/ee3e9bb71dcef7eca9f3bcc350b39108630cb5bf/after/c006fcfb2163c281e95a07357433a2631eff7b3d@github.com>

Reply all
Reply to author
Forward
0 new messages