[Printing-architecture] [Gimp-print-devel] Common Printing Dialog: PPD extension specs updated
Till Kamppeter
till.kamppeter at gmail.com
Thu Jul 31 07:05:31 PDT 2008
Robert Krawitz wrote:
> Date: Thu, 31 Jul 2008 11:18:44 +0200
> From: Till Kamppeter <till.kamppeter at gmail.com>
>
> Robert Krawitz wrote:
> > I've added support for Quick Presets using the Image Type
> > (StpImageType) and for widget hinting. They pass cupstestppd. Till,
> > can you check them out (use "make ppd-global" to produce
> > multi-language PPDs).
>
> Generally, the PPDs are generated correctly, but there are some problems:
>
> - All the translated UI strings are English for me. My distro is
> Ubuntu Intrepid. What do I have to change to get actual
> translations. I would like to have multi-language PPDs in both
> Ubuntu and LSB packages.
>
> How did you create the PPD files: are these statically generated
> files, did you use cups-genppdupdate, did you create new queues?
>
> What locale is your system running in?
>
> - There is a small bug in the *OPOptionHints lines: At least for
> the options whose machine-readable names start with "Stp" the
> option names in the *OPOptionHints lines do not start with
> "Stp". Replace lines like
>
> *OPOptionHints Weave: ...
>
> by
>
> *OPOptionHints StpWeave: ...
>
> Check this for all options
>
> Done.
>
> - I have changed the syntax of the *OPOptionHints keyword from
>
> *OPOptionHints <option name>: <hint1>[, <hint2>, ...]
>
> to
>
> *OPOptionHints <option name>: "<hint1> [<hint2> ...]"
>
> to be more consistent with the syntax of the other keywords of my PPD
> extensions and also to be compatible with CUPS DDK. CUPS DDK is not able
> to handle lines without quotes. It would add the quotes. With the quotes
> we also open the possibility to distribute the hints over more than one
> line.
>
> *OPOptionHints StpBrightness: slider, input, spinbox
>
> has to get replaced by
>
> *OPOptionHints StpBrightness: "slider input spinbox"
>
> now.
>
> OK.
>
> - For the fine adjustment options add lines like
>
> *OPOptionHints StpFineBrightness: "hide"
>
> now.
>
> Yup.
>
> > I have not added support for option tagging, which will be more
> > complicated and will need some (minor) core changes.
>
> Here the tags need to be well selected so that the user finds the
> desired controls easily. You could use the BZR snapshots of the
> dialogs under development to test drive your tags.
>
> OK. I'm not going to try to get that into beta4.
>
Now everything except the translations in the globalized PPDs is correct.
Till
More information about the Printing-architecture
mailing list