HylaFAX The world's most advanced open source fax server |
Hello,
I can't seek any information about how to include entries in typerules file to convert MS word documents acrooss wvPS utility.
in the file /etc/magic are these entries:
4 string Standard\ Jet\ DB Microsoft Access Database
# XXX - according to Microsoft's spec, at an offset of 0x3c in a
2080 string Microsoft\ Word\ 6.0\ Document %s
2080 string Documento\ Microsoft\ Word\ 6 Spanish Microsoft Word 6 document data
2112 string MSWordDoc Microsoft Word document data
0 belong 0x31be0000 Microsoft Word Document
0 string PO^Q` Microsoft Word 6.0 Document
0 string \376\067\0\043 Microsoft Office Document
0 string \320\317\021\340\241\261 Microsoft Office Document
0 string \333\245-\0\0\0 Microsoft Office Document
2080 string Microsoft\ Excel\ 5.0\ Worksheet %s
2114 string Biff5 Microsoft Excel 5.0 Worksheet
and my typerules file contains these entries:
# conversor de docuentos de word.
0 string \376\067\0\043 ps /usr/bin/wvPS %i > %o
0 string \320\317\021\340\241\261 ps /usr/bin/wvPS %i > %o
0 string \333\245-\0\0\0 ps /usr/bin/wvPS %i > %o
when i type file xxx.doc the linux respond Microsoft Office Document.
can somebody help me?
TIA
Pau de la Cuesta González
BEGIN:VCARD VERSION:2.1 N:DE LA CUESTA GONZALEZ;PAU FN:PAU DE LA CUESTA GONZALEZ ORG:Generalitat de Catalunya TITLE:Responsable d'anàlisis de sistemes d'informació TEL;WORK;VOICE:+34 934849729 TEL;PAGER;VOICE:-- TEL;WORK;FAX:+34 934849598 ADR;WORK:;;Passeig de Gràcia, 105;Barcelona;;08008 LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Passeig de Gr=E0cia, 105=0D=0ABarcelona 08008 EMAIL;PREF;INTERNET:PAUDELACUESTA@correu.gencat.es REV:20011002T091241Z END:VCARD