How to show a message box from the filter

Michael Sweet mike at easysw.com
Thu Jul 3 12:44:25 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




More information about the cups mailing list