Page MenuHome GnuPG

Kleopatra: Printing on win11 aborts silently
Closed, ResolvedPublic

Description

Printing dialogs on gpg4win-5.0.0-beta330 @ win11 are not shown (no user error, no dialog).

To reproduce, e.g.

  • Menu: File -> Print Secret Key
  • Menu: Settings -> Configure Keyboard Shortcuts -> Print

Debugview output: QPrintDialog: Cannot be used on non-native printers

Details

Version
gpg4win-5.0.0-beta330 @ win11

Event Timeline

timegrid created this object with edit policy "Contributor (Project)".

Works fine here.

The line from debugview is very helpful, that seems to be where the printing is canceled - though figuring out why it's not happy doesn't seem trivial.

Does printing work for you with a gpg4win-4.4 or something like that?

Same on gpg4win-4.4.1 @ win11 (here a bit more debugview context)

3	3.503991	8584	kleopatra.exe	org.kde.pim.kleopatra: Paperkey export finished:  0 status:  QProcess::NormalExit
4	3.691599	8584	kleopatra.exe	QPrintDialog: Cannot be used on non-native printers
5	3.691981	8584	kleopatra.exe	QPrintDialog: Cannot be used on non-native printers
6	3.692752	8584	kleopatra.exe	org.kde.pim.kleopatra: Printing aborted.

It's also the same error in Okular, when a pdf is printed.

timegrid claimed this task.

Ok, it was a missing update (although windows claimed to be up-to-date).
After installing 2025-06 [...] KB5060829 the Microsoft Print to PDF feature is available again and printing also works in Kleopatra/Okular.