SUMMARY the print preview in kate shows exactly what is on the screen and exactly what i want, but the what comes out of the printer does not match... it uses a proportional font instead of monospace. STEPS TO REPRODUCE 1. open text document in kate 2. go to print preview and confirm the font and format are what is expected 3. print OBSERVED RESULT printed page uses a proportional font instead of the monospace font shown in the print preview and on screen. EXPECTED RESULT printed page should match what is shown in the print preview. SOFTWARE/OS VERSIONS Operating System: Kubuntu 24.04 KDE Plasma Version: 5.27.12 KDE Frameworks Version: 5.115.0 Qt Version: 5.15.13 Kernel Version: 6.11.0-19-generic (64-bit) Graphics Platform: X11 Processors: 28 × Intel® Core™ i7-14700K Memory: 62.6 GiB of RAM Graphics Processor: AMD Radeon RX 6800 Manufacturer: Micro-Star International Co., Ltd. Product Name: MS-7D27 System Version: 1.0 ADDITIONAL INFORMATION relevant discussion and workaround https://discuss.kde.org/t/kate-does-not-print-what-is-shown-in-print-preview/31365 printer: Brother HL-5340D series using the default driver brother hl5340d - cups=gutenprint v5.3.4
We did fix a few things in the printing in the last year, could you try a more recent version?
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
unfortunately i cannot try a more recent version as this is the only version i have access to from my distro and i'm not willing to reinstall a different distro over this bug. i will just hope it is resolved and file a new bug report if it ever comes up again.... however since i plan on sticking with kubuntu LTS, my fear is the answer then will be the same as the answer now and nothing will change since i will never be on the bleeding edge of the versions. filing bug reports was my way of giving back to the community, but if LTS is always going to be behind the curve then what's the point?
found a work around: do NOT use ctrl + P go to File > print/export > print preview > print(button) > properties > advanced > imagetype: text *every time* and it will print out as shown in the preview window.
> however since i plan on sticking with kubuntu LTS You can try AppImage or Snap or Flatpak. We have nightly images available for AppImages.
ok, can confirm the appimage version 25.07.70 has the same issue. open a file, screen shows mono spaced font, hit ctrl-P printer outputs proportional font trying from file > print/export > print preview... shows mono spaced font just like the main window then choosing the print button seems to work, as mono spaced font is output at the printer checking the properties it defaults to "mixed text and graphics" just like my LTS version and i didn't have to change it to "text only" for it to print in mono space font. so i guess that's something. would still be nice if ctrl-p just worked tho
Ok, that is some interesting insight. Will take a look, if one way works and the other not that should be fixable.