Mon Sep 4 08:14:36 PDT 1995 Patrick Powell
Installation Instructions
Patrick Powell <
[email protected]>
Sat Dec 13 11:04:48 PST 1997
1. Installation
The configure script and Makefiles are set up to install files as follows:
PREFIX=/usr/local - prefix for all installed directories
INSTDIR=$(PREFIX)/lib/filters - executables
INSTDIR=$(PREFIX)/lib/filters/font - font files and machine/font mapping
ACCNTSH=$(INSTDIR)/accounting.sh - accounting shell script to run at
the end of a job.
DO:
cd CTI-ifhp
configure
<edit the Makefiles if necessary>
make clean all
make install
1. Testing WITHOUT Using a Print Spooler
You can run tests to ensure that the filters work; the
testif, testof, and testbanner scripts shoud be editted
according to your sites requirements and run.
For example, testif is:
#!/bin/sh
ifhp '-Tdev=/dev/ttya,debug=4,stty=38400 -echo -crmod -raw \
-oddp -evenp pass8 cbreak ixon' "$@" <ellipse.ps
This is set to use /dev/ttya, speed 38400, and the options that
appear to be needed to talk to most HP printers over the serial line.
If you have a network printer, then try:
#!/bin/sh
ifhp '-Tdev=pr%9100,debug=4' "$@" <ellipse.ps
2. Font Downloading
When printing non-standard (i.e. ISO-Latin) text, you may need to
download a font to the printer.
If you want to run with downloading of fonts, you will have to
install a machine/font mapping file and the fonts. If you do
not use the default font locations, you will have to edit
fonts/Makefile and src/Makefile and rebuild the filter.
cd src;
<edit Makefile>
cd ../fonts;
<edit Makefile>
<Edit file host_fonts so that the correct font gets
downloaded a request comes from a remote machine.>
make clean install install