Bug 206015

Summary: kmail doesn't print with USB-hplaserjet3030
Product: [Applications] kmail Reporter: Hans-Rudi Denzler <hr.denzler>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UPSTREAM    
Severity: normal CC: kollix
Priority: NOR    
Version: 1.12.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Hans-Rudi Denzler 2009-09-02 17:46:30 UTC
Version:           1.12.1 (using 4.3.1 (KDE 4.3.1) "release 163", KDE:KDE4:Factory:Desktop / openSUSE_11.1)
Compiler:          gcc
OS:                Linux (i686) release 2.6.27.29-0.1-pae

Something is sent to the printer, but no output. kmail/kwrite/kdiff3 behave same with KDE 4.3.0/4.3.1.

Postscript (lp print.ps) and PDF (okular print.pdf) printing is OK:

kwrite/KDE3, gvim, OpenOffice, firefox - is OK too.
Comment 1 Martin Koller 2009-09-02 23:33:30 UTC
I think I don't quite understand your description.
My interpretation: kmail does not print, neither version 4.3.0 nor 4.3.1.
Same problem with kwrite, kdiff3.

What does that part mean:
"Postscript (lp print.ps) and PDF (okular print.pdf) printing is OK:"
?

Which program generated print.ps or print.pdf ?
Was this also done by kmail ?
Comment 2 Hans-Rudi Denzler 2009-09-03 00:08:47 UTC
kmail's printer dialog (Strg+P).

KMail/File/Print.../Name: print to File (PostScript)
Output File: .../print.ps
Using Konsole: > lp print.ps

Normally I would print directly (NOT working), so I use the above workaround which produces the correct printer output. The printer dialog in 4.3.0/1 doesn't behave the same as the version of e.g. KWrite/KDE3 (KDE3, Texteditor), which can print directly.

gvim works with: set printdevice=hplaserjet3030
Comment 3 Martin Koller 2009-09-03 23:29:31 UTC
The printer dialog in KDE4 is different than in KDE3 since it now uses directly the Qt provided one, whereas in KDE3 there was an own implementation.
Which also means: the problem is somewhere inside Qt.
Can you try with a Qt-demo program, please.
E.g. run qtdemo and select Main Windows -> Dock Widgets -> Print.
If you can reproduce the problem there, please file a bug report
at http://qt.nokia.com/developer/task-tracker
Comment 4 Hans-Rudi Denzler 2009-09-04 11:17:40 UTC
I can reproduce the problem there with no printer output.
"> lp print.ps" gives correct printer output.
Comment 5 Martin Koller 2009-09-04 11:21:55 UTC
Thanks for testing. Marking this as a Qt bug.
Comment 6 Hans-Rudi Denzler 2009-09-07 21:03:37 UTC
Here is a possible source of trouble from /var/log/cups/error_log.

PS: https://bugzilla.novell.com/show_bug.cgi?id=498254 ?

Am Freitag, 04. September 2009 11:21 schrieb Martin Koller:
> https://bugs.kde.org/show_bug.cgi?id=206015
> 
> 
> Martin Koller <kollix@aon.at> changed:
> 
>            What    |Removed                     |Added
> ---------------------------------------------------------------------------
> - Status|NEEDSINFO                   |RESOLVED
>          Resolution|WAITINGFORINFO              |UPSTREAM
> 
> 
> 
> 
> --- Comment #5 from Martin Koller <kollix aon at>  2009-09-04 11:21:55 ---
> Thanks for testing. Marking this as a Qt bug.
>