Re: printkit source related reorganization
<[email protected]> Tue, 22 Jul 2008 23:34:44 +0200
| Newsgroups | gmane.os.openbeos.printing |
|---|---|
| Message-ID | <[email protected]> |
Hi Jovan, > I have one dilemma, how should user preferred configuration of each > installed printer be saved, I mean in which format.=20 The logic would be to follow the same design as other non-PPD printer dri= ver does: they store their configuration as extra attribut(s) to the prin= ter spooler folder in /boot/home/configs/settings/printers/<printer_folde= r>. BTW, one would move these from HOME to /boot/COMMON/configs/... ;-) > Should we use XML for > that? If it is so, is there some kind of library that already works on > beos/haiku, I should i write a simple parser for those files too?=20 A quicker, smaller, easier and more beos-way will be to use a flattened B= Message, stored into a extra folder attribute. Please, don't mix XML into Haiku until XML become the prefered system-wid= e structured format used by Haiku developers. AFAIK, no Haiky system comp= onent use it yet. But many used flattened BMessages. Thanks to keep consistency. > Also, I > could use some help with UI Design, I mean some kind of sketches or > mockups. Maybe someone could share some screenshot of the BeOS R5 Postscript drive= r PPD configuration window? This window show up when you *add* a new postscript printer, and allow th= e use to customize the PPD-defined settings for his printer. I don't have access to a BeOS machine right now to take such shot, unfort= unatly. Bye, Philippe.