Version: 4.3.1 (using KDE 4.3.1)
Installed from: Fedora RPMs
1. In the print dialog, the selector for which pages to print is no longer present.
2. When printing, an empty page with one black square (size of a character) is all that comes out. Same issue in kate 3.3.1.
Printing works fine from the command line and from firefox.
For 1) this is deliberate as kate/kwrite does not currently have the ability to print a page range, so it was misleading users by showing it (see bug 160760). You will need to raise a separate wishlist for this to be added. To work around this in the meantime users need to highlight the text they want printed and use the Selection option in the dialog.
For 2) can you check for other KDE apps such as Konqueror print correctly?
So I checked. A page that prints fine from firefox prints like garbage from konqueror. The pictures on the page print, although over multiple pages, while the text content just doesn't print.
I also tried Okular (PDF viewer) and OpenOffice. They both print fine. If there is some kind of KDE print engine that sits between the KDE applications and the print server, then I guess it is buggy in KDE 4.3.1.
Laszlo Hazy: Can you please test again with KDE >= 4.6 and report back?
Printing works fine for me (no black bars).
Pages selection is still not implemented, though.
Page selection is actually now available when using CUPS as your printer backend on Linux
John, what does that mean for Kate? Can we close this? Or do we still need to implement something here?
Sorry, should have clarified. There's a hack in the KDE print dialog that enables page ranges and page sets when running under Linux and using CUPS only. Basically kate/kwrite prints the entire document then CUPS does the page selection. Under lpr or Windows or OSX then this hack does not work. Also CUPS does not always apply the page selection as a user expects. In short, it's a nice short-term hack to enable the feature, but long term it is better for Kate to paginate itself. The hack just means its a lower priority fix.
*** Bug 208940 has been marked as a duplicate of this bug. ***
Git commit 49b824532c5a1e51bed8f043a29b634f6885f47d by Michal Humpula.
Committed on 28/12/2013 at 10:08.
Pushed by michalhumpula into branch 'frameworks'.
enable page ranges for printing
M +2 -0 part/printing/kateprinter.cpp
M +24 -21 part/printing/printpainter.cpp
M +1 -1 part/printing/printpainter.h