File: README.install

package info (click to toggle)
cti-ifhp 2.2.8-1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 904 kB
  • ctags: 673
  • sloc: ansic: 4,916; sh: 1,539; makefile: 287; perl: 99
file content (57 lines) | stat: -rw-r--r-- 1,830 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Mon Sep  4 08:14:36 PDT 1995 Patrick Powell

         Installation Instructions
        Patrick Powell <papowell@astart.com>
        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