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 2/03/2004, at 1:50 PM, Dave Camp wrote:

I can't seem to get CUPS print jobs to display any kind of error dialog like Tioga drivers are able to do.

For example, the following lines of code in my main() don't seem to do anything:

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

I was expecting to see the OS display some sort of alert indicating the print job failed, but that does not happen.

Am I missing something?

These errors are not displayed to the user; they only end up in the CUPS error log (/var/log/cups/error_log).

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).

Cheers,
Tobias Peciva
Pharos Systems
_______________________________________________
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>)



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.