--- a/iro/user.py Fri Nov 13 01:42:38 2009 +0100
+++ b/iro/user.py Sun Nov 15 19:08:08 2009 +0100
@@ -69,11 +69,15 @@
return id
- def startFAX(self,provider="default"):
+ def startFAX(self,subject, fax,provider="default"):
+ '''
+ starts the FAX with the pdf file fax and the subject
'''
- starts the FAX - not implemented
- '''
- raise NotSupportedFeature("fax")
+ if not "fax" in self.features:
+ raise NotSupportedFeature("fax")
+ id = self.jobqueue.newFAX(subject, fax,recipients,provider)
+ self.jobs[id]=self.jobqueue[id]
+ return id