HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: postscript attachments show up at 5% size
Something like the script below could "eject" a page before faxing the
attachment. This catches this text in the output of html2ps (but might
screw up witha document with the word "variable" in!) (By the way, my
mileage is varying wildly on html2ps. Is there any other tool out there?).
Unfortunately there doesn't seem to be a common place in PS files that you
can insert this, so each converter script needs a companion "ejecter"
script tailored to the peculiarities of the PS out from whatever prog you
used.
html2ps conveniently has this line in the output which you can catch and
eject before...
%--End of variable part --
so the script can be something like:
#!/usr/bin/perl
while (<STDIN>) {
if ($_ =~ "variable") {
print "showpage\n";
}
print $_;
}