[Kde-print-devel] [Bug 180051] [KDE4] Need a way to have default printer settings

Hans Meine hans_meine at gmx.net
Thu Oct 7 09:56:19 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=180051


Hans Meine <hans_meine at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hans_meine at gmx.net




--- Comment #31 from Hans Meine <hans_meine gmx net>  2010-10-07 09:56:02 ---
I also suffer from paper wasted because of KDE's print dialogs defaulting to
single-sided printing.

(In reply to comment #26)
> I'm pretty sure that the right way to save the options is in cups, so that all
> applications, including non-qt applications, save these settings.

AFAICS, the situation actually is that the default in CUPS *is* duplex
printing.  This *is* used successfully by other programs, just not by Qt's
printing dialog.  Actually, there are two ways to configure duplex mode: one is
via the cups properties, available in KDE's systemsettings and by pressing
"properties" right next to the selected printer in the print dialog.  There,
duplex is selected.  (This is the same thing as in comment #7 from Brice, only
the other way round.)

However, the specialized GUI hidden behind the "options" button, in the
settings tab, defaults to duplex OFF.

Looking at the code, the duplex mode GUI is set up from a QPrinter:
http://qt.gitorious.org/qt/qt/blobs/4.7/src/gui/dialogs/qprintdialog_unix.cpp#line434

I am not sure where the QPrinter comes from in general, and how to fix this
properly.  (Maybe introducing a "DefaultDuplex" QPrinter mode which lets the
GUI default to the CUPS setting?)

It actually looks more like a Qt bug to me, too.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kde-print-devel mailing list