GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
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.
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.
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
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).
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
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.
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:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.