From: Roger L. <rl...@wh...> - 2006-02-27 11:01:31
|
Robert L Krawitz <rl...@al...> writes: > As a shorthand, I'm thinking of (and prototyping) adding a > "parameters" property. It sits on the family, although right now I > have it coded as a global list of parameter sets qualified as > "family::name" (so the actual name of this parameter set would be > "escp2::480_params"). Inside family scope it can be referred to > without the qualification, of course. > > Right now this is not recursive; you can't include a sub-parameter > block inside a parameters block. > > This would make it a lot easier to add additional printers to the > list. What do people think of this approach? > > <family name=3D"escp2"> > <parameters name=3D"480_params"> > <parameter type=3D"float" name=3D"MagentaGamma">0.95</parameter> > <parameter type=3D"float" name=3D"YellowGamma">0.9</parameter> > <parameter type=3D"float" name=3D"Gamma">0.470</parameter> > </parameters> > <printer name=3D"EPSON Stylus C20" driver=3D"escp2-c20" manufacture= r=3D"Epson" model=3D"42" parameters=3D"480_params" /> > </family> It looks nice. I have been wanting to find time to do something like this for a while, but was waiting until after 5.0. One consideration here is that it would be nice if this extended to all the family drivers, in addition to the escp2 driver. Is this planned? Regards, Roger =2D-=20 Roger Leigh Printing on GNU/Linux? http://gutenprint.sourceforge.net/ Debian GNU/Linux http://www.debian.org/ GPG Public Key: 0x25BFB848. Please sign and encrypt your m= ail. |