[Libaps-general] Re: KPrinter.*
Brought to you by:
brianpirie,
tranter
From: Waldo B. <ba...@kd...> - 2000-06-19 19:21:09
|
On Mon, 19 Jun 2000, you wrote: > Hi, > > naggin' you again :). No problem, at least someone who cares what I do :-) > Are you going to put the printer config stuff in > KPrinter class, too? Yes, well, maybe :-) The other option is to have "KPrinter" and have let's say "KPrinterConfig" which inherits "KPrinter". And then "KPrinter" just provides read-access to the printer attributes and with KPrinterConfig you can change them as well. The latter would only be needed by the yet to be made "configure printer" dialog. > Seems like no piece of sysAPS should stay i the > KPrinter API - so all sysAPS related things will be accessed via KPrinter > methods, right? Yes. That's the idea. > I have no idea how you are going to implement all your > things from your RFC...putting all into the KPrinter class? I wanna help, > but i dont know how :).... Well, I don't have a clear idea about how to do everything yet. It's basically just playing around and then see how things fit in. Just some random thoughts: 1) If possible, I would like to load libaps and all printer stuff on demand only. I am not sure if that is feasible or whether that makes actual sense, but on first sight it makes sense I guess. Anyway, that means that the API should not contain direct references to libaps. No idea if this turns out to be a silly idea. 2) Does libaps report paper-sizes to you? I get error-code 6. I have added code to default to a default list of paper-size in this case, but would like to use the paper-sizes reported by libaps. Any thoughts on this? Or am I supposed to configure the paper-sizes first with the yet-non-existing printer configuration dialog? :-] Cheers, Waldo -- Make way, KDE/Linux is coming to a desktop near you! |