HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] ascii to ps convertion issue



* In reply to <48D2C520.1050501@xxxxxxxxx> Enrique Arredondo said:
> Hi,

Hi,  I'm not sure what this had to do with the previous message you
replied to, but...

> I'm having an issue with the way sendfax converts ASCII to PS on 
> different OS's, and I can't figure it out, I have a linux server running 
> hylafax and if I send a fax within linux, I get a clean fax, so then I 
> installed hylafax for SCO on another server so that I can use send faxes 
> using sco's sendfax as a client through the linux server, the issue is 
> that when I ran sendfax on SCO box, the ps is coming out different than 
> the one generated by linux (when I compare the same ascii file).

The "textfmt" tool (sendfax uses this to convert ASCI -> PS) uses system
ghostscript fonts.

If you use sendfax -v, you can see how textfmt is run by sendfax.  You
should see something like:
	rule: offset 0 ascii = -- success (result postscript, rule "textfmt -B -f Courier-Bold -Ml=0.4in -p 11 -s %s >%o <%i")
	CONVERT "textfmt -B -f Courier-Bold     -Ml=0.4in -p 11 -s default >'/tmp//sndfaxQvIHCb' <'/tmp//sndfaxlPhLfK'"

With that, you'll be abel tos ee the exact textfmt invocation used, and
from that you can start chasing down what's different between the 2
systems.  Some of the things different could be:

1) Compile options (packages often vary them)
2) page sizes
3) typerule 
4) Fonts available

etc.



-- 
Aidan Van Dyk                                             aidan@xxxxxxxx
Senior Software Developer                          +1 215 825-8700 x8103
iFAX Solutions, Inc.                                http://www.ifax.com/

Attachment: signature.asc
Description: Digital signature




Project hosted by iFAX Solutions