Text box within the GUI for the printerdriver

Paul Grenning paul.grenning at gmail.com
Fri Jun 19 12:42:44 PDT 2009


> On Jun 19, 2009, at 10:28 AM, franz.pfoertsch.brose wrote:
> >>
> >> Normal options are just "pick from a list" or boolean.  Custom
> >> options
> >> can be used to allow user-entered values, but you'll still need a few
> >> choices for apps that don't support custom options.
> >>
> >> See the custom option information here:
> >>
> >>     http://www.cups.org/documentation.php/spec-ppd.html
> >>
> > Please give a small example to build up  a ppd with custom option
> > textfield.
>
> The documentation has this already:
>
>      *% Base PostScript watermark option
>      *OpenUI WatermarkText/Watermark Text: PickOne
>      *OrderDependency: 10 AnySetup *WatermarkText
>      *DefaultWatermarkText: None
>      *WatermarkText None: ""
>      *WatermarkText Draft: "<</cupsString1(Draft)>>setpagedevice"
>      *CloseUI: *WatermarkText
>
>      *% Custom PostScript watermark option
>      *CustomWatermarkText True: "<</cupsString1 3 -1
> roll>>setpagedevice"
>      *ParamCustomWatermarkText Text: 1 string 0 32
>
> > Which application a able to use this ppd?
>
> Custom options are supported in Mac OS X 10.6, the CUPS 1.4 web
> interface, and (IIRC) recent versions of GNOME and KDE.  There is NO
> custom option support in the CUPS Windows driver aside from custom
> page sizes.
>
> >
> > regards
> > franz
> > _______________________________________________
> > cups-dev mailing list
> > cups-dev at easysw.com
> > http://lists.easysw.com/mailman/listinfo/cups-dev
>
> ____________________________________
> Michael R Sweet, Senior Printing System Engineer
>
>
>


Will this work with cups version 1.3.10 on fedora 10 within the non web GUI? Or does it have to be 1.4?




More information about the cups-devel mailing list