[cups.development] dialog box
Michael Sweet
msweet at apple.com
Tue Jul 28 07:28:22 PDT 2009
On Jul 27, 2009, at 3:37 PM, Paul Grenning wrote:
> Does cups have a dialog box that can be displayed?
No.
> If I am doing a status query on a printer and receive that the
> printer is low on paper, I would like to create a dialog box or
> maybe display something to the terminal.
Use STATE: messages to report the out-of-paper condition, e.g.:
fputs("STATE: +media-empty-error\n", stderr);
but don't forget to clear it when the condition goes away:
fputs("STATE: -media-empty-error\n", stderr);
___________________________________________________
Michael Sweet, Senior Printing System Engineer
More information about the cups
mailing list