Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

sendfax problem



Hi.

sendfax -n -v -d 12345 print.txt reports :

match against (..., 512)
rule: offset 0 short = 0x4d4d -- failed (comparison)
rule: offset 0 short = 0x4949 -- failed (comparison)
rule: offset 0 short = 0x1da -- failed (comparison)
rule: offset 0 short = 0x1f1e -- failed (comparison)
rule: offset 0 short = 0x1f9d -- failed (comparison)
rule: offset 0 short = 0x506 -- failed (comparison)
rule: offset 0 short = 0x5343 -- failed (comparison)
rule: offset 0 short = 0x2f7 -- failed (comparison)
rule: offset 0 long = 0x7fffffff -- failed (comparison)
rule: offset 0 short = 0xd8ff -- failed (comparison)
rule: offset 0 short = 0x4d42 -- failed (comparison)
no match
print.txt: Can not determine file type

I can't find the strings which will be compared in
/usr/lib/fax/typerules.
What's wrong ?

# /usr/lib/fax/typerules
#
#offset datatype        match           result  rule
#
0       string          %!              ps
0       short           0x4d4d          tiff
0       short           0x4949          tiff
#
0       short           000732          tiff    %F/sgi2fax -%f -o %o -v
%V\
                                                  -s %s %i
0       short           017436          error   packed data
0       short           017635          error   compressed data
0       short           0x0506          ps      showcase -p -f %i
0       short           0x5343          ps      showcase -p -f %i
0       short           0x02f7          ps      dvips -q -o %o %i
0       string          GIF             ps
>3      string          87a             ps      giftoppm <%i | ppmtopgm | pnmto
>3      string          89a             ps      giftoppm <%i | ppmtopgm | pnmto
0       long            0xa659956a      tiff    ras2tiff %i %o
0       string          x T psc         ps      psdit <%i >%o
0       string          begin           error   uuencoded file
0       string          xbtoa           error   btoa'd file
0       string          P1              ps      pbmtoascii <%i | textfmt
>%o
0       string          P2              ps      pnmtops <%i >%o
0       string          P3              ps      ppmtopgm <%i | pnmtops
>%o
0       string          P4              error   PBM "rawbits" file
0       string          P5              ps      pnmtops <%i >%o
0       string          P6              ps      ppmtopgm <%i | pnmtops
>%o
0       string          /*\ XPM         ps      xpmtoppm <%i | ppmtopgm
| pnmto
0       short           0xd8ff          ps
>6      string          JFIF            ps      djpeg -grayscale <%i | pnmtops
0       short           0x4d42          error   BMP-File
0       string          WNGZWZSS        error   Wingz spreadsheet
0       string          #Inventor V     error   IRIS Inventor file
>15     string          binary          error   binary IRIS Inventor file
>15     string          ascii           ps      %F/textfmt >%o <%i
0       ascii           x               ps      %F/textfmt >%o <%i


-- 
 Uwe.Wagner@rnieb.rhein-neckar.de



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services