Summary: | printer margins aren't saved per aplication | ||
---|---|---|---|
Product: | [Unmaintained] kdeprint | Reporter: | urwald <urwald> |
Component: | general | Assignee: | KDEPrint Devel Mailinglist <kde-print-devel> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | bleverett, jlayt, pino |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Bug Depends on: | |||
Bug Blocks: | 144638, 144639 |
Description
urwald
2007-04-03 10:46:47 UTC
It's certainly possible to save the margin options by application. However, the current KDEPrint framework does not provide for this. KDEPrint primarily works on top of CUPS (as a GUI frontend of CUPS), and CUPS knows only to store margins *per printer*, not per application. Also, I'm not sure if it is the right place to implement this in KDEPrint. On first thought, it should rather be the applications that store these values, and when they call the print dialog, initialize that dialog with their saved margin values. [BTW, if you are *not* using custom margins, KDE applications like KWord and Konqueror will be set to 24 points (=0.847 cm) for top and bottom, and 36 points (= 1.27 cm) for left and right margins.] You should also file a wishlist item to the developers of the respective applications. Hmmm... maybe we can come up with a way to do it in a consistent and unified way across applications. I've reported the problem for konqueror as bug 144638 and for kpdf as bug 144639. However, a unified way accross applications would be fine... 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? On 13 June 2007 06:49, Pino Toscano wrote:
> KDEPrint developers, what do you think?
This is indeed a good idea (and the obvious way of doing the proposed thing).
But I agree that I have difficulties to see the need of saving margins per
application. It's rather a question of general layout associated with the
printer and the paper format, not with a specific application.
*** Bug 207607 has been marked as a duplicate of this bug. *** KDEPrint is obsolete, unmaintained and will never be revived. Closing all open bugs. |