Office document to pdf

Dolphin Service Menus

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.0

Description:
Convert ms-office document or OpenOffice document to pdf

eg. right-click on test.doc , 'convert to pdf', test.pdf will be at /home directory.
You should be able to select multi file to convert.

in case not working;
1. my soffice is at /usr/lib/openoffice/program/soffice, modify for yours.
2. my psprint.conf shows
[PDF converter]
Printer=SGENPRT/PDF converter
make sure yours is also "PDF converter".
Last changelog:

03-05-2005
1. add service type for html; Interestingly, it use title as filename for the pdf.
2. add service type for txt; this need file extension of .txt and give a nice formatted of pdf file.
3. you should be able to add other services ( I have not try myself) like autocad interchange file .dxf, computer grafic metafile .cgm, photoshop .psd, text file .csv, fax file .tiff, rich text format .rtf,ocr type file .pgm & .pbm


Ratings & Comments

9 Comments

kriko

This is what I really needed. But, how can I convert .odt (openoffice documents) files to pdf. Is there a way to edit the .desktop file to support rhis and how?

miguel2

For *.odt files use: application/vnd.oasis.opendocument.text OpenDocument MIME types are: application/vnd.oasis.opendocument.text, application/vnd.oasis.opendocument.text-master, application/vnd.oasis.opendocument.image, application/vnd.oasis.opendocument.database, application/vnd.oasis.opendocument.formula, application/vnd.oasis.opendocument.chart, application/vnd.oasis.opendocument.graphics, application/vnd.oasis.opendocument.presentation, application/vnd.oasis.opendocument.spreadsheet Details on OpenDocument MIME types: http://en.wikipedia.org/wiki/OpenDocument#File_types

kriko

Thanks!

oggi

Hello, thanks for this nifty piece of software, it would be very useful however it does not work for me. The command is printing instead of converting the file to a pdf. (might be useful as well ,-) ) I copied it to .kde/.../konqueror/servicemenus and checked the soffice which is located in the same path as yours. But in psprint.conf no [PDF converter] entry could be found, shall I add it manually or shall I run OO Administration? Which command should I add for pdf device? any advice is highly appreciated, thanks, Oggi

phxguy

I second this. I get the same response. I even Added [PDF converter] Printer=SGENPRT/PDF converter to my psprint.conf file and it still printed to my regular printer. Perhaps someone who has this working can share thier psprint.conf file for reference

tanm

Before you can use this service menu , make sure you could print or convert your document to pdf on your openoffice. To set up; Open 'Openoffice.org Printer Setup' from K menu ( or /usr/bin/oopadmin) > click on New Pinter... > under 'Choose a device type' dialog, pick 'Connect a PDF converter'. > click 'Next' > Under 'Choose a driver' dialog, pick 'The default driver' . > click 'Next' Enter command /usr/bin/gs -q -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile="(OUTFILE)" - > click 'Next' > Under 'Choose a name' dialog PDF converter >Finish You should check if you could print a test page in pdf from OO. Hope this help tanm

oggi

thanks, now it's working - great work!

xvicx

verry handy, cool, thank you. wish to see on day a pdf to doc, sxw

kaplun

Exactly what I needed!

Pling
0 Affiliates
Details
license
version
updated
added
downloads 24h 2
mediaviews 24h 0
pageviews 24h 0

More Dolphin Service Menus from tanm:

pdf to html
tanm
last update date: 20 years ago

Score 5.0

grub Splashscreen
tanm
last update date: 20 years ago

Score 5.0

Other Dolphin Service Menus:

burnWithGrowisofs
chunkylover
last update date: 20 years ago

Score 5.0

Firefox-bookmarks service menu
storyteller
last update date: 20 years ago

Score 5.0

Text Convert Service Menu
smp-penguin
last update date: 21 years ago

Score 5.0

Pdflatex servicemenu
bobuse
last update date: 20 years ago

Score 5.0

Send through Bluetooth
dmnet
last update date: 21 years ago

Score 5.0

Add to Bloglines
spookster
last update date: 21 years ago

Score 5.0



System Tags