[Kde-print-devel] [Bug 143777] printer margins aren't saved per aplication

Pino Toscano toscano.pino at tiscali.it
Wed Jun 13 12:49:48 CEST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=143777         
toscano.pino tiscali it changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |toscano.pino tiscali it



------- Additional Comments From toscano.pino tiscali it  2007-06-13 12:49 -------
Coming here from KPDF's bug 144639: doing the same job of saving the margins (and take care of them) in *each* application is quite pointless - unless KDEPrint provides a really simple API to do that.
Eg, something like:
  KPrinter::saveMargins(KConfigGroup& group) const;
  KPrinter::restoreMargins(const KConfigGroup& group);
So, applications that want/need to save/restore the margins can just do:
  KPrinter printer;
  ...
  printer.restoreMargings(config.group("Printer Settings"));
  ...
  KConfigGroup group = config.group("Printer Settings");
  printer.saveMargings(group);
  
KDEPrint developers, what do you think?


More information about the Kde-print-devel mailing list