Need Feedback From Fax Printer
Need Feedback From Fax Printer
- Subject: Need Feedback From Fax Printer
- From: "Steven W. Disbrow" <email@hidden>
- Date: Thu, 27 Oct 2005 10:54:57 -0400
Hello!
I'm trying to write an application that automatically sends queued
faxes to a selected fax printer. (Yep, it's a fax server.) Rather
than going through efax directly, I'd like to simply allow the user
to pick a fax printer from the list of available fax printers. I've
gotten most everything working, up to and including the actual faxing
of my documents.
The problem is when a fax fails for whatever reason. There doesn't
appear to be any mechanism for getting error information back from a
fax printer when I use a NSPrintOperation and subsequent [op
runOperation] call. (The fax printer, a Lexmark x7170, DOES spit out
an error page, but that's no real help. I need to be able to put the
error info into my CoreData store so the fax can be queued for
another attempt.)
I've tried having CUPS generate different levels of debug information
(thinking I could parse that), and I also set the
NSPrintDetailedErrorReporting key to YES in my NSPrintInfo
dictionary, but, once the job is sent to the printer, it seems to
send absolutely no communication back to my application. I expected
there would be a callback or notification that went along with a
NSPrintOperation, but that doesn't seem to be the case.
Am I missing something? Or do I have to drop back to the Carbon
PrintManager or, even worse, parse the results from efax to make this
possible?
Thanks for any help or insight you can offer!
--
Steven W. Disbrow
EGO Systems, Inc.
Web Development, Technical Training & Writing, Consulting
Phone: 423.843.1775
Fax: 423.843.0661
E-mail: email@hidden
Web: http://www.ego-systems.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden