Ask Your Question
1

How to Convert doc to ps format programatically [closed]

asked 2012-04-23 10:16:07 +0200

Ankit Jain gravatar image

updated 2012-04-24 12:25:26 +0200

Hi,

I wanted to convert a document in doc format to ps(post script) format programatically. Any approach to do this?I guess I can use the LibreOffice utility of file conversions but I have to do it without installing LibreOffice on my machine.

If anyone can give me some way of doing this or any related reference then it would be very helpful to me.

Regards, Ankit

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2015-10-16 22:26:35.718008

Comments

Can anyone give me some idea on this.

Ankit Jain gravatar imageAnkit Jain ( 2012-04-24 08:41:44 +0200 )edit

Can someone reply on my query?

Ankit Jain gravatar imageAnkit Jain ( 2012-04-24 10:54:38 +0200 )edit

2 Answers

Sort by » oldest newest most voted
1

answered 2012-06-26 03:16:08 +0200

qubit gravatar image

To clarify, I believe what you're asking is how to convert a document in .doc (binary MS-Word format) to PostScript.

It might be possible to do this conversion using LO on the command line, but it looks like you'd like to do this "without installing LibreOffice on [your] machine."

As such, this looks like a question outside of the scope of this LibreOffice-help site.

Good luck!

edit flag offensive delete link more
1

answered 2012-06-27 09:02:15 +0200

tohuwawohu gravatar image

Since LibreOffice and OpenOffice are able to work in "server mode", it would be theoretically posssible to create such a conversion mechanism.

For a complete solution, more information about the use case is required. But generally, to create PostScript, you don't need LibreOffice. Just use a printer driver for a PostScript-capable printer. You don't need the printer itself, just the driver, and use the "print to file" option. This way, you could easily produce a PostScript file.

LibreOffice would be required (or at least useful) if you want to create PDF files.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-04-23 10:16:07 +0200

Seen: 1,165 times

Last updated: Jun 27 '12