[open-beos-printing] Re: printkit source related reorganization

Hi Jovan,

> I have one dilemma, how should user preferred configuration of each
> installed printer be saved, I mean in which format. 

The logic would be to follow the same design as other non-PPD printer driver 
does: they store their configuration as extra attribut(s) to the printer 
spooler folder in /boot/home/configs/settings/printers/<printer_folder>.

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? 

A quicker, smaller, easier and more beos-way will be to use a flattened 
BMessage, stored into a extra folder attribute.

Please, don't mix XML into Haiku until XML become the prefered system-wide 
structured format used by Haiku developers. AFAIK, no Haiky system component 
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 driver PPD 
configuration window?
This window show up when you *add* a new postscript printer, and allow the 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, unfortunatly.

Bye,
  Philippe.


Other related posts: