Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm looking for some advice/pointers for a task I've been given. We have customers that use our eFax service. The faxes are attached as tiff files. This is fine for those users that view them on their Windows machines. But we have some doctors that want to view them on their cellphones in pdf format. I've been assigned with the task of converting these tiff files into pdfs. Here's a basic rundown from what I understand:
A fax comes in and it goes to the Cisco eFax. The Cisco converts it into a tiff file and sends it to the mail server. The mail server then delivers it to the user. I can't do anything on the Cisco side. But I should be able to take the email when it arrives on the mail server, remove the attachment, convert it, reattach, and then send it to the user.
I was thinking of using procmail in some way. Has anyone run across anything like this before?
OpenOffice will allow you to open a document, import a graphic into it, and then export the file as a pdf.
There is also this : http://linux.die.net/man/1/tiff2pdf
which I know nothing about other than what it says. But one of these two should do what you need to do.
This has to be done at the server level for multiple clients. The fax has to arrive via email into their Blackberry, cellphone, or whatever, as a PDF already. I can't manually take their fax whenever it arrives, convert it using OpenOffice, and send it off to their device. I also can't use tiff2pdf for the same reason. I need to be able to take the attachment, convert it, and reattach without human intervention.
The CUPS is interesting, but I'm not sure if that's the route I would need. I was thinking of this:
1. Email with Tiff attachment comes into the server
2. Procmail "sees" the attachment and runs a Perl script on it
3. The script removes the attachment and places it in a directory
4. tiff2pdf is run on the attachment and converts the tiff to pdf
5. The pdf is attached to the original email and sent to the user's mailbox
But I don't know how feasible the above scenario is.
I know this thread is a few years old... did you find a solution to this? I am in the exact predicament and would be interested in knowing what you ended up doing.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.