Version: 1.11.3 (using 4.2.3 (KDE 4.2.3), 4.2.3-2.fc10 Fedora) Compiler: gcc OS: Linux (i686) release 2.6.27.24-170.2.68.fc10.i686 How to reproduce: 1. Select an email to print in Kmail that has at least 2 pages. 2. Select "Print". 3. Select "Options >>". 4. Under "Print options", select "Print from". 5. Select the page number that one wishes to print, e.g., '1' to '1', or '2' to '2'. 6. All of the pages will print, even though only an individual page has been selected. Expected behavior: When "Print from" is selected, only the indicated page or pages should print.
I can confirm this bug in KMail 1.11.2. Okular gets this right, i.e. it will only print the requested pages. So a potential workaround is to print the entire message from KMail and then print the pages you want from Okular. It's pretty annoying though.
This will be because KMail/Konqi/Kate are not page-aware applications, i.e. they don't know where the page breaks are until they paint the pages. While there are probably ways to work around this, none have done so. As a short term measure they should disable the Page Range selection in the dialog so as not to confuse users (I've put this on my to-do list, unless someone beats me to it).
Hmmm, not sure what's up with the SVN->BKO link, but commits 1011062 for trunk and 1011065 for 4.2 disable the From/To print range in the print dialog for KHTML and consequently for KMail so users will no longer be confused by this. This is the best we can do for now I'm afraid. I am working on patches to Qt to enable range printing via CUPS, but that will not be available until Qt4.6 (fingers crossed). I'm not sure khtml would ever be able to be modified to directly support page selection, but that would be a separate wish request.