LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-13-2006, 08:58 AM   #1
cody19
LQ Newbie
 
Registered: Dec 2005
Posts: 4

Rep: Reputation: 0
need website doc->pdf conversion


We have a website which needs the ability for the admin to upload a word document into a converter and have it convert it to pdf format that they can make available to certain people. this must be fully automated, no user interaction other than uploading initially can be allowed while it creates the pdf.

any ideas? this needs to almost be 'plug n play' as there is literally no development dollars available for this. I have to believe someone has created such a thing already.

the web server has no X installed. We do not mind if it is a commercial product, we just need it to work and be easy to install.

Any ideas? Suggestions?

Cody
 
Old 04-13-2006, 09:04 AM   #2
rahulk
Member
 
Registered: Mar 2006
Posts: 110

Rep: Reputation: 16
there is a doc2pdf project available for download on linux in freshmeat.net site. you can download it and create a shell script which will convert the document to pdf file on an unload folder. No idea with any plugin available for webserver (apache etc.).
see if that is useful.

-Rahul.
 
Old 04-13-2006, 09:06 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
The normal way of creating pdf from word is to print using acrobat distiller.

While there is no obvious reason that a server could not be tought to do this automatically, why not simply convert the file and post the pdf???
 
Old 04-13-2006, 09:13 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,459

Rep: Reputation: 6216Reputation: 6216Reputation: 6216Reputation: 6216Reputation: 6216Reputation: 6216Reputation: 6216Reputation: 6216Reputation: 6216Reputation: 6216Reputation: 6216
If using windows PCs I suggest pdfcreator. No need for a server.
 
Old 04-13-2006, 09:38 AM   #5
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
they can't make the .pdf locally? then upload that for people to browse?

You could do as rahulk mentioned, use .php to invoke the shell script on the uploaded file, converting it to .pdf and moving that .pdf into a folder available from your web server. This can be invisible to the user and their browser then they get a link to the .pdf??

I still think it's easier for them to upload the .pdf...
 
Old 04-13-2006, 09:46 AM   #6
cody19
LQ Newbie
 
Registered: Dec 2005
Posts: 4

Original Poster
Rep: Reputation: 0
well, the problem is the people going to do this are bank officials most of which have literally no clue and some are quite afraid of computers.

they want to go to their website and click a link that prompts them to fill in the doc filename on their computer, then it will grab that, convert it to pdf and automatically place a link to the pdf for download/view by other officials. their specification in this for some reason i know not, is it must be in pdf. since there will be several people supplying documents, and the list of people may not be the same from week to week, we cannot provide them with a local converter.

this has to be completely automated under apache with no interaction.

we can easily provide the file xfer and autolinking code it is the cmdline conversion program we lack.

if we have to use a windows solution it must again be cmdline automation that can be reached by instructions from the main website and the windows converter machine will do nothing but convert and be available only on our local private network and only to that particular web server. we will never expose the internet to a windows machine. far too dangerous and costly in maintenance.
 
Old 04-13-2006, 09:47 AM   #7
cody19
LQ Newbie
 
Registered: Dec 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ethics
they can't make the .pdf locally? then upload that for people to browse?

You could do as rahulk mentioned, use .php to invoke the shell script on the uploaded file, converting it to .pdf and moving that .pdf into a folder available from your web server. This can be invisible to the user and their browser then they get a link to the .pdf??

I still think it's easier for them to upload the .pdf...
i agree totally however that is not how this has to work. local document conversion, according to my boss, is not an option.
 
Old 04-13-2006, 09:48 AM   #8
cody19
LQ Newbie
 
Registered: Dec 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by rahulk
there is a doc2pdf project available for download on linux in freshmeat.net site. you can download it and create a shell script which will convert the document to pdf file on an unload folder. No idea with any plugin available for webserver (apache etc.).
see if that is useful.

-Rahul.

will check that out. thanks.
 
Old 04-13-2006, 01:41 PM   #9
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
A few references to get you started..

http://www.goermezer.de/content/view/19/357/ - actually look at the main site as well he does quite a bit with PDF.. http://www.goermezer.de/

http://www.phparch.com/issuedata/art...article_25.pdf

http://www.weberdev.com/get_example-4023.html

http://www.wynia.org/wordpress/word-...-php-word2pdf/

http://jakarta.apache.org/poi/
 
  


Reply


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
automatic conversion .doc to .odt? (several files) quarry_06 Linux - Software 2 01-31-2006 07:14 PM
trouble finding policy doc as pdf in doc mirrors stardotstar Debian 2 05-12-2005 11:56 PM
pdf to doc conversion hoffmanyew Linux - Software 2 10-28-2004 10:50 PM
doc to pdf pedrosan Linux - Software 8 04-29-2004 01:42 AM
conversion of doc to latex gautam_iiith Linux - General 1 12-05-2003 03:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:44 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