• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Faxempfang: Dateiname auf TIFF-Files

lemon

Newbie
Hallo Leute!

Ich suche eine Möglichkeit, bei Eingangsfaxen den Namen der abgelegten Datei (bzw. die Nummer des Faxes) direkt auf dem TIFF-Dokument abzuspeichern, das auf dem Server liegt. Wir brauchen das, um ausgedruckte Faxe später leichter finden zu können.
Kennt jemand eine Möglichkeit dazu?

Viele Grüße

Lemon
 

coogor

Hacker
Sowas sollte durch die Modifikation von FaxNotify gehen. Ich hab in der Mailingliste neulich eine Diskussion darüber gelesen:
Code:
Well, in notify and FaxNotify (at least those found in HylaFAX+) the 
first document sent is called $files_1 and it's file-type will be 
$filetype_1.  The actual text to be used for the confirmation message is 
entirely up to you, however, the text creation of the default email is 
found in the notify_mail() function that you'll find up at the top.

So the rest is really an excersize in shell scripting (or whatever else 
you prefer to use) ... taking $files_1 of type $filetype_1 and the 
confirmation text of your choosing and producing a confirmation page 
appropriate for your needs.

I would suggest, perhaps, converting the $files_1 into TIFF, using 
tiff2ps without the -a option to get yourself the first page, 
watermarking the confirmation text ontop of it with psmark and then 
modifying notify_mail() to attach *that* file instead of the sent 
documents.
HTH
 
Oben