Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CUPS and error dialogs



On Mar 1, 2004, at 5:54 PM, Tobias Peciva wrote:

On 2/03/2004, at 2:37 PM, Dave Camp wrote:

However, if you use a tag of "INFO: ", the message will be displayed in Print Center (10.2) or the jobs window for the current printer (10.3).

So, there is no way to get the user's attention if there is a printer error (e.g. a paper jam)? I would have hoped some sort of dialog would be displayed by PSU or the little status app created for the queue.

You can always use CFUserNotificationDisplayNotice, or some other notification service; but I've never seen any CUPS components do this. By default, if there's an error, the queue will be stopped and a little badge will appear on the printer icon in the Dock. I'm not sure there is a need for another notification mechanism.

I've tried the following lines at the start of the job, while getting rasters, and at the end of the job. The queue monitor quits at the end and I don't see any badging in the dock, any alerts, or see the queue get put on hold. It shows up in the log, but that's it.

fprintf(stderr, "ERROR: This is a bad error\n");
return 1;

Thoughts?

Dave

---
You are in a maze of testy little Java VMs, all subtly different.
_______________________________________________
printing mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/printing
Do not post admin requests to the list. They will be ignored.


References: 
 >CUPS and error dialogs (From: Dave Camp <email@hidden>)
 >Re: CUPS and error dialogs (From: Tobias Peciva <email@hidden>)
 >Re: CUPS and error dialogs (From: Dave Camp <email@hidden>)
 >Re: CUPS and error dialogs (From: Tobias Peciva <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.