Skip to main content
WLear
Associate II
April 10, 2024
Solved

CubeIDE unable to print selected text on Windows 11

  • April 10, 2024
  • 3 replies
  • 1742 views

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?

This topic has been closed for replies.
Best answer by WLear

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.

3 replies

Andrew Neil
Super User
April 10, 2024

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,

AndrewNeil_0-1712758005302.png

 

This has the advantage of giving you much better control over pagination, etc ...

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
WLear
WLearAuthorBest answer
Associate II
April 10, 2024

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.

Andrew Neil
Super User
April 10, 2024

Excellent!

I'll have to give that a go!

Please mark that as the solution so that others will find it.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.