fax hinzugefügt
authorSandro Knauß <knauss@netzguerilla.net>
Sun, 15 Nov 2009 19:08:08 +0100
changeset 26 f6eb3f425b0c
parent 15 c04a21066aad
child 29 49ffb1f6cdbf
fax hinzugefügt
iro/user.py
--- 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