HylaFAX The world's most advanced open source fax server

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

[hylafax-users] sendfax not working on client machine



Hello, I need a little help with sendfax.........again.  I have my 'hyla.conf' file setup and all the font directories are valid.  I can telnet and ftp to my Hylafax server on port 4559.  I can see the server when I use the command 'faxstat -s' from my client machine.  The following is my current configuration:
 
--------------------------------------------------------------------hyla.conf-----------------------------------------------------
FontMap:/usr/share/ghostscript/5.50/Fontmap
FontPath:/usr/share/fax/afm/:/usr/share/fonts/default/ghostscript:/usr/share/fonts/default/Type1:/usr/share/fonts/afms:/usr/share/texmf/fonts/afm/adobe/courier
 
Host:<hylafax server>
TimeZone:local
MaxDials:14
MaxTries:15
RetryTime:300
------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------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           0xf702          ps      dvips -q -o %o %i
0       string          GIF             tiff
>3      string          87a             tiff    gif2tiff -%f -v %V %i %o
>3      string          89a             error   GIF (version 89a)
0       long            0x59a66a95      tiff    ras2tiff -%f -v %V %i %o
#
# NB: psdit is the Adobe Transcript program for converting ditroff output
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              error   PBM file
0       string          P2              error   PGM file
0       string          P3              error   PPM file
0       string          P4              error   PBM "rawbits" file
0       string          P5              error   PGM "rawbits" file
0       string          P6              error   PPM "rawbits" 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 -B -f Courier-Bold -p 11 -s %s >%o <%i
#
# This causes anything else with ascii-only data to be treated as text.
#
0       ascii           x               ps      %F/textfmt -B -f Courier-Bold -Ml=0.4in -p 11 -s %s >%o <%i
---------------------------------------------------------------------------------------------------------------------------
 
When I try a command like:
'sendfax -d "<name> @<phone number>" <text file>' I get the following error:
--------------------------------------------------->>>
 
/usr/sbin/textfmt: No font metric information found for "Courier-Bold".
Usage: /usr/sbin/textfmt [-1] [-2] [-B] [-c] [-D] [-f fontname] [-F fontdir(s)]
[-m N] [-o #] [-p #] [-r] [-U] [-Ml=#,r=#,t=#,b=#] [-V #] files... >out.ps
Default options: -f Courier -1 -p 11bp -o 0
Error converting data; command was "/usr/sbin/textfmt -B -f Courier-Bold -Ml=0.4
in -p 11 -s default >/tmp//sndfaxKOU8AP </home/markw/test_mw.txt"
--------------------------------------------------------------------------------------------------------------------------
I have checked the font path and everything is there.  I can run the textfmt command with no options '/usr/sbin/textfmt <text file>' and it will create a ps file, but when I try '/usr/sbin/textfmt -B -f Courier-Bold -Ml=0.4in -p 11 -s default <text file>' I get the same error message stated above.  I just can not seem to isolate the problem ?
Any and all suggestions are welcome..........
 
Sincerely,
 
Mark Welborn



Project hosted by iFAX Solutions