LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-28-2009, 01:06 PM   #1
cipher7836
Member
 
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, 01:19 PM   #2
PreacherBill
Member
 
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 : 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.
 
Old 08-28-2009, 02:11 PM   #3
cipher7836
Member
 
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, 02:59 PM   #4
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

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

I found this http://www.linuxquestions.org/linux/...e_in_Slackware

which might help.
 
Old 08-28-2009, 03:11 PM   #5
cipher7836
Member
 
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, 06:47 PM   #6
cmahbl
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.

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

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...
 
  


Reply



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 09:47 AM
LXer: Linux PDF editor for manipulating PDF documents LXer Syndicated Linux News 0 12-19-2007 09:50 AM
Convert pdf to html or txt or remaster the pdf? jago25_98 Linux - Software 1 12-13-2005 01:11 AM
Single Page tiff to Multi Page tiff James_dean Programming 3 11-10-2005 10:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:35 AM.

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