Using ddk options in general setup to be overridden during print job
Michael Sweet
msweet at apple.com
Tue Jan 31 10:07:05 PST 2012
Johan,
You don't want to use installable options for things like this. Regular options with a choice marked as default ("*Choice Foo ...") is the way to go.
On Jan 31, 2012, at 3:58 AM, Johan Henselmans <johan at netsense.nl> wrote:
> I have set some options for the printer in the InstallableOptions, so
> that the printer by default prints in a certain way:
>
>
> Group "InstallableOptions/Options Installed"
> Option "CutMedia/Cut Labels" PickOne AnySetup 10
> Choice "False/No" "<</CutMedia 0>>setpagedevice"
> Choice "PerLabel/After Each Label" "<</CutMedia 4>>setpagedevice"
> *Choice "AllLabels/After All Labels Are Printed" "<</CutMedia
> 2>>setpagedevice"
>
>
> But I want to be able to override that for a specific print jobs:
>
> Group "General"
> Option "CutMedia2/Cut Labels" PickOne AnySetup 10
> Choice "None/Do not change default options" ""
> Choice "False/No" "<</CutMedia 0>>setpagedevice"
> Choice "PerLabel/After Each Label" "<</CutMedia 4>>setpagedevice"
> Choice "AllLabels/After All Labels Are Printed" "<</CutMedia
> 2>>setpagedevice"
>
>
> The latter options are shown in the Printer Features sub panel in the
> print panel.
>
>
> In the driver setup this picks up the options that I have set, and shows
> the chosen options if I want to change it afterward, but how can I pick
> up these settings in the General or Extra group so that the chosen
> options in the printer setup are shown?
>
> Or should i use another mechanism to save default print options for a
> specific printer?
>
>
>
> --
> Kind Regards,
>
> Johan Henselmans
> _______________________________________________
> cups-ddk mailing list
> cups-ddk at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups-ddk
__________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair
More information about the cups
mailing list