Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 08-28-2009, 02:06 PM   #1
Registered: Dec 2008
Posts: 35

Rep: Reputation: 15
Tiff to PDF

Hello all,

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?
Old 08-28-2009, 02:19 PM   #2
Registered: Nov 2006
Location: Louisville, KY
Distribution: CentOS 6
Posts: 41

Rep: Reputation: 15
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 :
which I know nothing about other than what it says. But one of these two should do what you need to do.
Old 08-28-2009, 03:11 PM   #3
Registered: Dec 2008
Posts: 35

Original Poster
Rep: Reputation: 15
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.
Old 08-28-2009, 03:59 PM   #4
Senior Member
Registered: Jan 2008
Distribution: Arch/Slackware/Knoppix
Posts: 1,784
Blog Entries: 14

Rep: Reputation: 279Reputation: 279Reputation: 279
You could probably use CUPS to print to PDF with an automatic print queue.

I found this

which might help.
Old 08-28-2009, 04:11 PM   #5
Registered: Dec 2008
Posts: 35

Original Poster
Rep: Reputation: 15
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.
Old 10-12-2012, 07:47 PM   #6
LQ Newbie
Registered: Oct 2012
Posts: 1

Rep: Reputation: Disabled
Hi cipher7836,

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.

Old 10-12-2012, 08:09 PM   #7
Senior Member
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 12.04/14.04, Scientific Linux 6.3/6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,799

Rep: Reputation: 157Reputation: 157
If you look at cipher7836's profile,... you will see there's been no activity on that user account since Jan. 2012...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PDF to TIFF chr15t0 Linux - Software 5 05-09-2013 10:47 AM
LXer: Linux PDF editor for manipulating PDF documents LXer Syndicated Linux News 0 12-19-2007 10:50 AM
Convert pdf to html or txt or remaster the pdf? jago25_98 Linux - Software 1 12-13-2005 02:11 AM
Single Page tiff to Multi Page tiff James_dean Programming 3 11-10-2005 11:50 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration