[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: New KDE printing system
From:       Michael Goffioul <goffioul () imec ! be>
Date:       2001-03-01 8:36:46
[Download RAW message or body]

> > I'm sure there's a way to still store the last used data in a shared (and
> > global) KPrinterPrivate data structure or something :-)
>
> What about a config file? It's not really transparant to the user which
> applications share a process, e.g. you want to share your last print config
> among all konqueror windows, not only the two that happen to be in the same
> process.

You first have to make a distinction between application/common options, and
printer options (which are on a per printer basis). Common options appear in the
main print dialog, where developers can also plug additional pages. Printer options
appear in a separate dialog opened when clicking on a "Properties" button.
The common options can be saved in the application config file, like KFileDialog
does it. But printer options shouldn't: they can be instead saved in a global file
which can be accessed by all KDE programs. For those who are familiar with
CUPS, I mean to extent the role of ".lpoptions" file to other print systems.

Michael.

--
------------------------------------------------------------------
Michael Goffioul                IMEC-DESICS-MIRA
e-mail: goffioul@imec.be        (Mixed-Signal and RF Applications)
Tel:    +32/16/28-8510          Kapeldreef, 75
Fax:    +32/16/28-1515          3001 HEVERLEE, BELGIUM
------------------------------------------------------------------

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic