No expert here but:
I assume that open office will create the ps or pdf file. You just need a
raw filter that will dump to to a file?
This is what I use to print a text version to a file:
In /etc/printcap:
text:\
:sd=/var/spool/lpd/text:\
mx#0:\
:lp=/var/spool/lpd/text/textprint:\
:if=/var/spool/lpd/text/filter:\
:sh:
Now, note I have a "if" parameter. This filter converts ps and pdf
files to text. You would leave that out. If for some reason you have
to have a dummy filter, "cat" may be all you need in a shell script.
The file in "lp" needs to be permissive for the printer daemon. Putting
it in the spool directory and running checkpc -f takes care of that but
if you use /tmp or other location you may have permissions problems,
which are easy to solve.
Joel
On Mon, Mar 03, 2003 at 11:17:58AM +0100, [EMAIL PROTECTED] wrote:
> Dear experts,
> could somebody advise me on how to configure a printer that would print
> to file instead to a specified device ? The reason is that OpenOffice
> doesn't support saving to PS or PDF file, so I guess configuring a special
> printer that would just save the PS output to a file would solve the
> problem.
>
> Thanks a lot for help,
>
> best regards
>
> Tomas
>
> E-mail : [EMAIL PROTECTED],
> [EMAIL PROTECTED]
>
>
> -----------------------------------------------------------------------------
> YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
> The address you post from MUST be your subscription address
>
> If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
> or lprng-digest-requests) with the word 'help' in the body. For the impatient,
> to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
> with: | example:
> subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
> unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
>
> If you have major problems, send email to [EMAIL PROTECTED] with the word
> LPRNGLIST in the SUBJECT line.
> -----------------------------------------------------------------------------
-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body. For the impatient,
to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED]
with: | example:
subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED]
If you have major problems, send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------