LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 12-09-2004, 06:27 AM   #1
sujith_deva
LQ Newbie
 
Registered: Dec 2004
Posts: 1

Rep: Reputation: 0
convertion from doc file to pdf in bulk


Hi

I am in a hurry to transfer a bundle of word file to pdf.ie around 1,50,000 files..I request the suggestion for the mission in fast manner..with open source software or any other methods

Thanking you

Sujith
 
Old 12-09-2004, 08:10 AM   #2
firefly2442
Member
 
Registered: Apr 2003
Location: USA
Distribution: Ubuntu
Posts: 95

Rep: Reputation: 15
Not sure about doing it in batch but openoffice.org can convert files to .pdf
 
Old 12-09-2004, 11:20 AM   #3
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 683

Rep: Reputation: 63
Never done it but check this out:
http://www.office2pdf.lll.lu/
and this:
http://wise-obs.tau.ac.il/~friedel/help/formats.html

Last edited by Blinker_Fluid; 12-09-2004 at 12:10 PM.
 
Old 12-09-2004, 02:08 PM   #4
cjcox
Member
 
Registered: Jun 2004
Posts: 307

Rep: Reputation: 42
Another possibility is to use Windows (ick)... you can create a Samba printer in Linux with a config like:

...
[pdf]
comment = Print to PDF
path = /var/spool/pdf
create mask = 0600
printable = Yes
browseable = Yes
public = yes
guest ok = no
use client driver = yes
print command = /usr/local/sbin/ps2pdf %s '/%H/PDF/%J.pdf'

The path in that print command is something unique to our network... you may have to adjust.
And then the Windows client will print to this queue as if it where a color postscript printer.
This works pretty well for us.

You'll need ps2pdf obviously (test it out locally first).
 
Old 12-09-2004, 09:50 PM   #5
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
If you make the default OpenOffice printer the PDF converter, then the following command will convert a file to a PDF, with the same name as the original, in your home directory:
Code:
soffice -p documentName.sxw
Perhaps you could write a shell script to do this for you in bulk.

I hope this helps
--Ian
 
Old 12-09-2004, 11:10 PM   #6
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Quote:
Originally posted by IBall
If you make the default OpenOffice printer the PDF converter, then the following command will convert a file to a PDF, with the same name as the original, in your home directory:
Code:
soffice -p documentName.sxw
Perhaps you could write a shell script to do this for you in bulk.

I hope this helps
--Ian
Using this tactic - if you have all the files in the same directory, this should do it:
Code:
ls | xargs soffice -p documentName.sxw
 
Old 12-09-2004, 11:20 PM   #7
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
another solution - found this
http://doc2pdf.sourceforge.net/
 
  


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
i want pdf 2 openoffice or doc AL MOSLEM Linux - Software 4 03-26-2008 12:04 AM
trouble finding policy doc as pdf in doc mirrors stardotstar Debian 2 05-12-2005 10:56 PM
how to convert pdf file to doc format. thushara Linux - Newbie 3 03-22-2005 06:29 AM
doc to pdf pedrosan Linux - Software 8 04-29-2004 12:42 AM
.doc file to pdf GtkUser Linux - General 2 02-05-2003 02:55 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 02:57 PM.

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