[Kst] [Bug 216746] It should be possible to save the print configuration for kst

Nicolas Brisset nicolas.brisset at eurocopter.com
Fri Jan 15 00:22:48 CET 2010


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





--- Comment #1 from Nicolas Brisset <nicolas brisset eurocopter com>  2010-01-15 00:22:46 ---
I've been researching a bit why it is no longer possible to save printer
settings between jobs or even sessions. Here are the most interesting things
I've found:
1) it seems that Qt4 does not (yet, seems to be planned for 4.7) provide this
possibility, as found in a message on a KDE list
(http://markmail.org/message/abaeotvug7k6vgfs). Although the message is a bit
old, I believe the problem and explanations are still current. Most interesting
parts:
   - "One such missing feature is KDE no longer automatically saves the last
used printer settings for each application, it is now up to each app to save
and restore the settings"
   - "Also, if the app keeps the same QPrinter instance to use each time the
dialog is called, then the settings will persist so long as the app is
running". 
Those two tips may provide a usable workaround for the short term...

2) we have a printing guru in KDE land: the author of the above mentioned post,
John Layt. John, if you're there and could give us a short status it would be
very much appreciated

3) from the QPrinter documentation (Qt 4.6) there are setPaperSize(),
setPageMargins() and setOrientation() methods so I guess we could combine that
with QSettings to save the printer settings locally until there is a more
global solution

-- 
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 Kst mailing list