HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Hylafax Font Metric Errors



Hello:  

That's a never mind on the password issue, browsing around among man
pages and how-to documents, I found the faxadduser command, used it and
got past the Login errors.  I also, finally, got another successful test
of faxing out a .pdf.  That leaves the text files and the font metrics
issue, still, though.  

Here is what happens when I try to fee the sendfax command an ascii text
file instead of a .pdf.  I haven't tried it yet, but I assume that the
.ps files work fine.  

hesco@biko:~$ ./fax.sh
Password:
textfmt: No font metric information found for "Courier-Bold".
Usage: 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 com -1 -p 11bp -o 0
Error converting data; command was "textfmt -B -f Courier-Bold
-Ml=0.4in -p 11 -s default >/tmp//sndfaxi0MWGB <testfax.txt"
hesco@biko:~$

I used the Debian Packages search engine to figure out what packages I
needed to install to fill in the missing files that were identified in
the faxsetup log, reprinted below.  But my attempts to apt-get install
gsfonts and gsfonts-other said those packages are already installed 
and up-to-date.  I found a ghostscript/fonts directory in /usr/share and
tried symlinking it from /usr/local/share, but that generated the same
errors.  

I see that the sendfax command is attempting to create a temporary file
at /tmp//sndfaxiOMWGB.  It appears that a sub-directory name is missing
in /tmp, which might be partially responsible.  But that doesn't explain
the "No font metric information found" error.  Might it just be a matter
of Courier-Bold being missing?  Where is a configuration file where I
might choose another default font?  

All clues are appreciated.  

-- Hugh Esco 

Date: Mon, 19 Apr 2004 01:16:54 -0400
From: Hugh Esco <hesco@xxxxxxxxxx>
To: hylafax-users@xxxxxxxxxxx
Subject: [hylafax-users] HylaFax Login failed: 530 Login incorrect, font metric errors.

Hey folks:  

I'm trying this again in hopes of getting a response this time.  
Is there a file where such a password would be set, which I can hack?  
Is there a script I can run to reset this password?  

I was on the verge of having a useful hylafax installation until my hard
drive recently crapped out on me.  Last week I rebuilt the system on
a temporary drive, while I wait for my real drive to be replaced.  

I'm running into two sets of issues I'd appreciate some help with.  All
responses are appreciated.  

Now, I'm getting errors reading:

	Login failed: 530 Login incorrect  

everytime I try to run sendfax (from a script which reads in relevant
part: 
	sendfax -f "hesco@xxxxxxxxxx" -R -x "Georgia Green Party" -d
"HughEsco@14048060584" GovBarnes-on-PR.pdf  ).  

Also, running faxsetup yields several errors related to missing "font
metric information".  I'm running Debian Woody testing.  What packages
do I need to install so that my text files get appropriately converted
for faxing?  

Your help is appreciated, 

-- Hugh Esco 

The faxsetup log reads:  

Setup program for HylaFAX (tm) 4.1.1.

Created for i686-pc-linux-gnu on Sun Nov 16 10:16:11 UTC 2003.

Reading cached parameters from /var/spool/hylafax/etc/setup.cache.

Checking system for proper client configuration.
Checking system for proper server configuration.

Setting Ghostscript font path in /etc/hylafax/hyla.conf.

Warning: /usr/local/lib/ghostscript/common does not exist or is not a
directory!

The directory /usr/local/lib/ghostscript/common does not exist or this
file is not a directory. This is the directory where the HylaFAX client
applications expect to locate font metric information to use in
formatting ASCII text for submission as facsimile.  Without this
information HylaFAX may generate illegible facsimile from ASCII text.

Warning: /usr/local/lib/ghostscript/6.53 does not exist or is not a
directory!

The directory /usr/local/lib/ghostscript/6.53 does not exist or this
file is not a directory. This is the directory where the HylaFAX client
applications expect to locate font metric information to use in
formatting ASCII text for submission as facsimile.  Without this
information HylaFAX may generate illegible facsimile from ASCII text.

Warning: /usr/local/lib/ghostscript/fonts does not exist or is not a
directory!

The directory /usr/local/lib/ghostscript/fonts does not exist or this
file is not a directory. This is the directory where the HylaFAX client
applications expect to locate font metric information to use in
formatting ASCII text for submission as facsimile.  Without this
information HylaFAX may generate illegible facsimile from ASCII text.

Warning: /usr/local/share/ghostscript/common does not exist or is not a
directory!

The directory /usr/local/share/ghostscript/common does not exist or this
file is not a directory. This is the directory where the HylaFAX client
applications expect to locate font metric information to use in
formatting ASCII text for submission as facsimile.  Without this
information HylaFAX may generate illegible facsimile from ASCII text.

Warning: /usr/local/share/ghostscript/6.53 does not exist or is not a
directory!

The directory /usr/local/share/ghostscript/6.53 does not exist or this
file is not a directory. This is the directory where the HylaFAX client
applications expect to locate font metric information to use in
formatting ASCII text for submission as facsimile.  Without this
information HylaFAX may generate illegible facsimile from ASCII text.

Warning: /usr/local/share/ghostscript/fonts does not exist or is not a
directory!

The directory /usr/local/share/ghostscript/fonts does not exist or this
file is not a directory. This is the directory where the HylaFAX client
applications expect to locate font metric information to use in
formatting ASCII text for submission as facsimile.  Without this
information HylaFAX may generate illegible facsimile from ASCII text.

Make /var/spool/hylafax/bin/ps2fax a link to
/var/spool/hylafax/bin/ps2fax.gs.

Make /var/spool/hylafax/bin/pdf2fax a link to
/var/spool/hylafax/bin/pdf2fax.gs.

Update /var/spool/hylafax/status/any.info.

Modem support functions written to /var/spool/hylafax/etc/setup.modem.
Configuration parameters written to /var/spool/hylafax/etc/setup.cache.

Done verifying system setup.


-- 
+---------------------------------------------  
|  Hugh Esco, <hesco@xxxxxxxxxx> 404-806-0480
|  Political Coordinator, Georgia Green Party 
|  Post Office Box 5332; Atlanta GA 31107 
|  http://www.greens.org/georgia/ 
+---------------------------------------------  

____________________ HylaFAX(tm) Users Mailing List
_______________________
  To subscribe/unsubscribe, click
http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx <
/dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*



-- 
+---------------------------------------------  
|  Hugh Esco, <hesco@xxxxxxxxxx> 404-806-0480
|  Political Coordinator, Georgia Green Party 
|  Post Office Box 5332; Atlanta GA 31107 
|  http://www.greens.org/georgia/ 
+---------------------------------------------  

____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions