[Samba] Fax modems and Samba
Pau Garcia i Quiles
pgquiles at elpauer.org
Sun Oct 30 09:08:32 GMT 2005
Quoting Tomasz Chmielewski <mangoo at wpkg.org>:
It is not hard to extract the telephone number from the fax. I am currently
doing at several locations and it's working like a charm.
The easy way to do it is having a field (for instance "Destination
Fax") in the
document you are sending. When you print the document, Samba will receive a
PostScript document. You only have to grep that document for that field, then
extract the fax number (regular expressions are your friends) and tell Hylafax
to send a fax to that number.
Now, how do I do it? Well, usually every fax has a cover page. You only
tell your people to use a standard cover (it's mandatory in all of my clients)
and have a field in that cover.
Look at this script, you only need to slightly customize it:
>>> David Maier told me on 10/29/2005 02:56:
>>>> I am running an FC 2 server with Samba 3.0.10. It is serving
>>>> files and is PDC for several WinXp workstations. There is now a
>>>> demand to be able to fax from the WinXP workstations, and I'm
>>>> trying to figure the best way to set up a modem pool on the server
>>>> and make them available to the workstations. Is that best handled
>>>> as some kind of resource share through Samba? How would that be
>>>> configured? I haven't found any documentation about that.
>>>> If not Samba, is there another Linux program that would make
>>>> server modems available to WinXP workstations?
> IMHO you won't do it like that (i.e., "a printer which is really a fax").
> One thing missing is the fact that each fax need a telephone number
> associated with it, which would be hard to extract from the document.
> Perhaps it would be possible, if the document was named with a
> naumber (i.e., a fax number)?
> There are some solution based on hylafax and/or asterisk, where you
> send an email with a tiff or pdf attachment, and "the fax system"
> gets the telephone number from the subject, converts the attachment
> to the right format, and sends it.
> Currently I'm working on one (which needs asterisk, though).
> WPKG - software deployment and upgrades with Samba
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/listinfo/samba
More information about the samba