Author: Michael Breuer (mbreuer@majjas.com).
If you use this software please let me know.
Copying: GPL
Summary:
This is the readme file for 'lw360f.' This utility works with
Hylafax & netatalk (and possible CAP) to allow faxes to be sent
from a Macintosh using the Adobe (Apple) Laserwriter 'f' series of
drivers.
Requirements:
1) Hylafax: This software has been testing using hylafax version 3.0pl0. I
don't know if it will work with 4.0.
2) Appletalk/Ethertalk: Tested with netatalk v 3.3.
3) Macintosh: Tested with system 7.5.3, Laserwriter 8.2.3f.
4) Perl. Tested using v 5.001.
5) ghostscript -- any version which currently works with hylafax should do.
Tested with 3.53.
Note: The above has been tested on linux v 1.3.69 & 2.0.0.
Installation:
1) Modify the perl script with your local path information.
2) Copy the perl script lw350f to an appropriate 'sbin' type directory.
I use /usr/local/sbin.
3) Add an entry similar to the following to your /etc/printcap file:
lpf|fax:\
:sd=/var/spool/lpd/lpf:\
:lf=/var/log/lpd-errs:\
:mx#0:\
:sh:\
:sf:\
:if=/usr/local/sbin/lw360f.pl:\
:lp=/dev/null:
4) Add an entry similar to the following to your /usr/local/atalk/etc/papd.conf
file (netatalk only). If you're using CAP, you're on your own. If someone
gets this working on CAP, please let me know!
Apple SelectWriter 360 (linux):\
:pr=lpf:op=apple:pd=/usr/local/atalk/lib/ppd/aplwsel.ppd:
Note: You need to get the ppd file from Apple or Adobe. If you're running
netatalk or CAP you probably already have this.
5) You MUST have /dev/null configured. If not, or if you have some different
name for your null device, then change it in the script.
6) Restart your printer daemons. I'm not sure, but I believe it may be
necessary to reboot to get netatalk to recognize the new papd.conf.
Notes:
1) The script (lw360f) images the inbound postscript fax document. This is
to avoid a weird bug. In at least one case, hylafax was unable to process
a fax which contained an embedded compressed image. I reported the bug
at the time to the hylafax list... it seems that there may be a bug in
some underlying code taken from 'compress.' I haven't had the time or
inclination to look into this... I believe that there is something which
is not properly escaped and then causes decompression to fail. By imaging
the document first, I avoid the problem.
2) COVER pages. lw360f using the currently installed hylafax cover page as
the "printer's default" cover page. There is currently no support for
alternate cover pages to be sent from the Macintosh.
3) Please don't comment on my perl style. This script was cobbled together
is spare time over a period of months. If time permits, I'll learn perl
and clean it up. I KNOW it's ugly code!
--
mbreuer@majjas.com
|