HylaFAX The world's most advanced open source fax server

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

Re: [ Problem Sending through E-mail



Assuming you are using faxmail, put the attached script called postscript
(making it chmod +x) in a directory called
/usr/local/sbin/faxmail/application. If faxmail is not in its usual place,
see man faxmail for where to put this script. Should fix your problem but
may generate a blank extra third of a page or more at the end of the fax.

Ben

On Tue, 10 Mar 1998, Prasad HS wrote:

> -----Forwarded message from N Prasad <prasad@krdl.org.sg>-----
> 
> Hi,
> 
> I Just Installed latest version hylafax-v4.0pl2 on a Sun Solaris 2.5.1.I
> could send ASCII text, and could attach Postscript docs and send/recieve
> successfully using ONLY tkhylafax but not using E-mail. 
> 
>  I was able to set up and send ascii text through e-mail .But
> if attach a PostScript document in e-mail, only ascii portion goes OK
> but the PS file will become diminished and appears as a small icon at
> the bottom left corner of the recieved page.Second page (supposed to
> have PostScript image) comes blank, with just page numger.But,I could
> attach PS files using tkhylafax and send without any problem. The
> docq/docxx.ps file also appears with the same problem when viewd with
> ghostview.
> 
> Then where is the problem ? Have attached session Tracing .
> 
> PS : I have installed hylaFax in non statndard location and have taken
> care of LD_LIBRARY_PATH in fax2ps.gs script, using Multitech class 2
> modem.
> 
> 
> Thanks for any suggestion
> -- 
> 
> Prasad
> 
#!/usr/bin/perl
#
# This file needs to be called:
# /usr/local/sbin/faxmail/application/postscript
# and have the +x bit set.
#
# Script to work with Hylafax's faxmail.
# It attempts to blow up attached postscript to full size on
# the next page, instead of shrinking it to 5% on page one 
# which is the default in faxmail.
#
# Your mileage will definitely vary. It is very stupid.
# Seems to work with golfer.ps, tiger.ps and escher.ps in the 
# ghostscript/3.33/examples directory
#
# Ben Parker <ben@dha.unon.org> Dec 97 
#
#

open (TEMP, "$ARGV[0]") || die "$ARGV[0] file not found.\n";
print STDERR "$ARGV[0] opened ...\n";
print "showpage\n";
while (<TEMP>) {
	if ($_ =~ "EndProlog") {
	}
	print $_;
}
# end of script




Project hosted by iFAX Solutions