
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
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".
15 years ago
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
15 years ago
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
kriko
15 years ago
Report
miguel2
15 years ago
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
Report
kriko
15 years ago
Report
oggi
15 years ago
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
Report
tanm
15 years ago
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
Report
oggi
15 years ago
Report
phxguy
15 years ago
[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
Report
xvicx
15 years ago
wish to see on day a pdf to doc, sxw
Report
kaplun
15 years ago
Report