HylaFAX The world's most advanced open source fax server

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

faxmail attachment scaling problem




Hi,

pl advice where should i invoke the following script
for faxmail attachment scaling problem..

----
!/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.
# Seems to work with golfer.ps and tiger.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";
while (<TEMP>) {
        if ($_ =~ "EndProlog") {
                print "\% line inserted to blow up size\n";
                print "showpage\n";
        }
        print $_;
}
---
-
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com




Project hosted by iFAX Solutions