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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
04-13-2006, 08:58 AM
|
#1
|
LQ Newbie
Registered: Dec 2005
Posts: 4
Rep:
|
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
|
|
|
04-13-2006, 09:04 AM
|
#2
|
Member
Registered: Mar 2006
Posts: 110
Rep:
|
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.
|
|
|
04-13-2006, 09:06 AM
|
#3
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
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???
|
|
|
04-13-2006, 09:13 AM
|
#4
|
Moderator
Registered: Aug 2002
Posts: 26,459
|
If using windows PCs I suggest pdfcreator. No need for a server.
|
|
|
04-13-2006, 09:38 AM
|
#5
|
Senior Member
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522
Rep:
|
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...
|
|
|
04-13-2006, 09:46 AM
|
#6
|
LQ Newbie
Registered: Dec 2005
Posts: 4
Original Poster
Rep:
|
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.
|
|
|
04-13-2006, 09:47 AM
|
#7
|
LQ Newbie
Registered: Dec 2005
Posts: 4
Original Poster
Rep:
|
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.
|
|
|
04-13-2006, 09:48 AM
|
#8
|
LQ Newbie
Registered: Dec 2005
Posts: 4
Original Poster
Rep:
|
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.
|
|
|
04-13-2006, 01:41 PM
|
#9
|
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Rep:
|
|
|
|
All times are GMT -5. The time now is 01:44 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|