

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
1 message in net.sourceforge.lists.courier-users[courier-users] WG: COURIERFAX faxin...| From | Sent On | Attachments |
|---|---|---|
| Daniel Müller | Aug 25, 2006 2:37 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | [courier-users] WG: COURIERFAX faxing MSWORD files | Actions... |
|---|---|---|
| From: | Daniel Müller (muel...@tropenklinik.de) | |
| Date: | Aug 25, 2006 2:37:30 am | |
| List: | net.sourceforge.lists.courier-users | |
Hello To all,
Finaly I succeded. I installed antiword 0.37. Be sure antiword is in /usr/bin and the m-files in /usr/share/antiword. So here my application-msword.filter placed in . /usr/lib/courier/share/faxmail/
#! /bin/sh # application-msword.filter. 2006/25/06 Daniel Mueller # #
. /usr/lib/courier/share/faxmail/init
cat >$OUTDIR/.doc /usr/bin/antiword -i2 -p a4 -m 8859-1.txt $OUTDIR/.doc > $OUTDIR/.ps #/usr/bin/pdftops -q $OUTDIR/.pdf $OUTDIR/.ps rm -f $OUTDIR/.doc
$GS -sDEVICE=faxg3 $FAXRES -dBATCH -sOutputFile=$OUTDIR/f%04d -dNOPAUSE -q -dSAFER - <$OUTDIR/.ps
Copy it to your directory and have fun.
Best regards
Daniel Müller
-----Ursprüngliche Nachricht----- Von: Daniel Müller [mailto:muel...@tropenklinik.de] Gesendet: Freitag, 25. August 2006 10:25 An: 'cour...@lists.sourceforge.net' Betreff: AW: [courier-users] COURIERFAX faxing MSWORD files
I found out that the filter must have the name application-msword.filter. Now courierfax tries to use it but ends up with a error message:
unknown; I can't find the name of your HOME directory Error: /undefined in Tolles Operand stack: 1.0 Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- Dictionary stack: --dict:1134/3371(ro)(G)-- --dict:0/20(G)-- --dict:80/200(L)-- Current allocation mode is local Last OS error: 2 ESP Ghostscript 8.15.0: Unrecoverable error, exit code 1 /usr/lib/courier/share/faxmail/application-msword.filter: terminated with exit status 1
Now here is my application-msword.filter:
. /usr/lib/courier/share/faxmail/init
cat >$OUTDIR/.doc /usr/bin/antiword -i2 $OUTDIR/.doc > $OUTDIR/.ps rm -f $OUTDIR/.doc
$GS -sDEVICE=faxg3 $FAXRES -dBATCH -sOutputFile=$OUTDIR/f%04d -dNOPAUSE -q -dSAFER - <$OUTDIR/.ps
If I do a /usr/bin/antiword -i2 example.doc > example.ps on the shell it is working fine.
Where is the mistake? Can You help me?
-----Ursprüngliche Nachricht----- Von: cour...@lists.sourceforge.net [mailto:cour...@lists.sourceforge.net] Im Auftrag von Daniel Müller Gesendet: Freitag, 25. August 2006 08:54 An: cour...@lists.sourceforge.net Betreff: [courier-users] COURIERFAX faxing MSWORD files
Hello again,
I`m trying to set up courierfax to be able to fax word documents. Is there a way to write a new filter in /usr/lib/courier/share/faxmail corresponding to the application-xxx.filter? The way application-doc.filter. As I know this could be done with antiword and the script doc2ps .
Greetings Daniel







