sending error messages to user

[email protected] (Elamathi) Thu, 15 Apr 2004 07:54:07 +0000 (UTC)
Newsgroups gmane.linux.printing.general
Organization http://www.linuxprinting.org/
Message-ID <[email protected]>
Hello all,
I am writing a filter program. Whenever I get some error I want to convey this
error to the user by opening up a  popup window saying the error message or by
some means which attracts user attention. I use Kprinter to give print. Once i
click print the dialog is closed, and i have no way of knowing the print was
successfull or failure.  But the error messages are in /var/log/cups/error_log
file.  Is there  any possibility to notify the user about the print status 

Thank you very much
Regards
Mahti