CubeIDE unable to print selected text on Windows 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-10 06:58 AM
On Windows 11, the CubeIDE print dialog no longer provides an option to print only the selected text. Is there any way to restore this option?
Solved! Go to Solution.
- Labels:
-
Bug-report
-
STM32CubeIDE
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-10 07:33 AM
I found a solution -- replace the totally worthless new Win11 print dialog with the legacy Win10 version, and the "Print Selection" option returns!
In Registry Editor (regedit.exe), browse to the following branch:
HKEY_CURRENT_USER\Software\Microsoft\Print\UnifiedPrintDialog:
Create a new REG_DWORD value named PreferLegacyPrintDialog
Set PreferLegacyPrintDialog data to 1.
Exit the Registry Editor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-10 07:07 AM - edited ‎2024-04-10 07:08 AM
Might well be an Eclipse thing?
As a workaround, if you copy the selection & paste into Word it will retain the monospaced font and syntax highlighting; eg,
This has the advantage of giving you much better control over pagination, etc ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-10 07:33 AM
I found a solution -- replace the totally worthless new Win11 print dialog with the legacy Win10 version, and the "Print Selection" option returns!
In Registry Editor (regedit.exe), browse to the following branch:
HKEY_CURRENT_USER\Software\Microsoft\Print\UnifiedPrintDialog:
Create a new REG_DWORD value named PreferLegacyPrintDialog
Set PreferLegacyPrintDialog data to 1.
Exit the Registry Editor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-04-10 07:58 AM
Excellent!
I'll have to give that a go!
Please mark that as the solution so that others will find it.