How to show a message box from the filter

keens312 keens312 at hotmail.com
Mon Aug 4 05:43:50 PDT 2008


> keens312 wrote:
> > Hello,
> >
> > I am developing a filter driver on Mac OSX.
> >
> > A messagebox(with a button on it) should be show up in some cases.
> >
> > Does the CUPS provide a way to define the UI in Drv file and show it up with cups APIs?
>
> No, there is no way for you to directly communicate with the user.
>
> Keep in mind that your filter may not be running on the same system
> as the user, or the user may not be logged onto the console when the
> job actually gets printed.
>
> About all you can do is use STATE: messages to make the printer queue
> icon bounce in the dock so that the user can correct the problem, but
> your driver will need to monitor the printer to know when to continue.
>
> --
> ______________________________________________________________________
> Michael Sweet, Easy Software Products           mike at easysw dot com
Hi Michael,

I have to make a workaround for this, since there is no button on printer.

We just take into consideration in the case that filter running on the same system as user.

My plan is to call an external application in filter with LSOpenApplication API. When user click the button on the external application, triggered the job left.

Any suggestion is appreciated.

Thanks
Keene






More information about the cups mailing list