How to install
djf

Reimer Mellin
Sulenstr.8
D-8000 Mönchen 71

	Serious effords have been put into djf to make it capable of printing on DIN A4 papersize. The first, naive approach produced an imagesize of 10.94" (11.69 - 1/4" top margin - 1/2" bottom margin) height. This is too little for printing in 2up format or printing 'full' A4 papers. With some tricks it is possible to extend the printable area to 11.315" ( 1/8" top margin, 1/4" bottom margin). If NextStep recognized the  *.pdf file, all this would never have been necessary...sigh.. :-)

You can compile djf in several ways, depending on which '#define' you set (refer to the source or the Makefile):

	- DEBUG		prints some comments on stderr,  they  usually appear
					in /usr/adm/lpd-errs
	- noUSE_1		ignore mode 1
	- USE_3		use the undocumented mode 3 for compression. A real
					speedup, but only usable for DeskJet 500 (see the end
					of this file). If you use a DeskJet or DeskJet+, you have to
					disable this feature.

1.)	Copy the contents of the disk into a directory of  your choice.

2.) 	Start Terminal.app or Stuart.app or open a shell in the Workspace.

3.)	Become root, either with su(1) or  by logging  in as root.

4.)	cd(1) to the directory you copied from the disk.

5.)	enter 'make prepare'
	This will create some directories djf will need.
	
6.)	enter  'make install'.
	This will update and install the printer driver.
	
7.)	do not change the NetInfo-parameters via PrintManager, especially
	not the serial line definitions.

8.)	Djf is preconfigured to use the serial line B. If you want to use
	Line A, change the entries named 'lp' in the file 'dj.printcap'
	and rerun 'make install'.  You have to use a hardware handshake
	cable for a successful print. See the FAQs from
	comp.sys.next.announce or look up the correct cable in the
	'zs' man page (LaserJet cables will do just fine).

9.)	To print with djf, choose the appropiate printer in the print panel.
	To print with a different resolution, you have to choose a different
	printer (e.g. dj75 instead of dj300).

10.) djf is configured to print on A4. To change this, you have to
	change the constant 11.315 in the 	sources, although I think that
	papersize 'letter' should work without any change (??).

Tip:
	Enter 'dwrite -g NXPaperType A4'  to choose DIN A4 as your default
	paper size in printpanels.

Useful for all printers which support Compression modes 0-3 (only
Deskjet 500 was tested), i.e.:
	LaserJet III, IIIP
	Deskjet 500 (Deskjet 500 C?)
	PaintJet XL (black&white mode)

(File taken from pclcomp):
Here is a list of printers and the compression modes they support:

Printer			Modes
-------			-----

LaserJet		0
LaserJet+		0
LaserJet 500		0
LaserJet 2000		0
LaserJet II		0
LaserJet IIP		0 1 2
LaserJet III		0 1 2 3
LaserJet IIIP		0 1 2 3 5  (Method 5 is not supported by pclcomp)

DeskJet			0 1 2
DeskJet+		0 1 2
DeskJet 500		0 1 2 3

PaintJet		0 1
PaintJet XL		0 1 2 3

Mode 0 is uncompressed graphics data.