Print open office document to PostScript-file from command line
I need to convert an open office document in to PostScript file. My first solution was to use spadmin to define a virtual printer that use ghostscript to convert postscript file. (read more about it here http://www.oooforum.org/forum/viewtopic.phtml?t=72382).
It works but the disadvantage is that I have to define a virtual printer for each user and that is the problem for me. 

Now I wonder if it is possibly to add a virtual printer with the printing configuration that achieves the same effect as spadmins virtual printer. 
Or it is possibly to use lp command with ghostscript?

I shall work on RHEL5.

I hope someone can help me.

Print open office document to PostScript-file from command line
===

I need to convert an open office document in to PostScript file. My first solution was to use spadmin to define a virtual printer that use ghostscript to convert postscript file. (read more about it here http://www.oooforum.org/forum/viewtopic.phtml?t=72382).
It works but the disadvantage is that I have to define a virtual printer for each user and that is the problem for me. 

Now I wonder if it is possibly to add a virtual printer with the printing configuration that achieves the same effect as spadmins virtual printer. 
Or it is possibly to use lp command with ghostscript?

I shall work on RHEL5.

I hope someone can help me.
