ftp.nice.ch/pub/next/tools/printer/djf_for_3.0.README

This is the README for djf_for_3.0.I.bs.tar.gz [Download] [Browse] [Up]

djf_for_3.0 is a merge of Derek Beatty's djf and our one. Basicly it 
can be split into 2 parts, namely a part which does the initialization and
the parsing of the postscript comments and a low-level part which does the
actual compression and the sending of the resulting bitmap to the deskjet.
The first part was taken nearly verbatim from Derek Beattys djf2.3, the latter
was taken from our old djf500 driver.

So, what you have here is practically a improved version of djf. The changes 
for 3.0 were marginal and applied only to header-file problems (the missing
bsd/sys/table.h!!!, which I included in this distribution).

The code should compile under 2.1/2.2 too, but the installation procedure
is different, since the PPD files live now in /NextLibrary/PrinterTypes
and have the postfix 'ppd'. Under 2.1/2.2 the PPD files were named xxx.pdf
and lived in /usr/lib/NextPrinter/pdf. We used the define __ARCHITECTURE__ to distinguish between 2.1 and 3.0. If someone does know a better way, please drop
us a mail.
Since code from ghostscript (the mode 9 compression routine) was used, we
added the FSF COPYRIGHT.

Happy printing :-)

	Reimer Mellin
		ram@ramsys.sta.sub.org
	Uwe Meyer-Gruhl
		meyergru@Informatik.TU-Muenchen.de

PS: in the following please note that Deskjet500C also means
Deskjet550C !!!!!!!!!

To just install a precompiled driver please do the following steps:

	- choose a port and a baudrate for your deskjet (ttya/ttyafa/ttyb/ttyfb
          and 9600 or 19200). Look it up in the old netinfo-database if you 
          can't remember the settings.

	- delete any old entries for djf in your netinfo-database !

	- delete the file /usr/lib/NextPrinter/pdf/Deskjet_500_300_DPI.pdf
	  if it exists.

	- su to root and enter 'config'. Answer the questions correctly,
	  especially about the port and speed of your printer.



To build and install this driver from source please do the following steps:

	- choose a port and a baudrate for your deskjet (ttya/ttyafa/ttyb/ttyfb
          and 9600 or 19200). Look it up in the old netinfo-database if you 
          can't remember the settings.

	- Edit the makefile and modify the defines PORT and SPEED to the
	  correct settings.

	- Edit PPDFILE and PPDDIR in the makefile, if you are using
	  2.1 or 2.2 !!

	- delete any old entries for djf in your netinfo-database !

	- delete the file /usr/lib/NextPrinter/pdf/Deskjet_500_300_DPI.pdf
	  if it exists.

	- enter 'make', READ the output and CHOOSE the appropiate
	  printer-configuration. USdj versus USdj500 versus EUROdj versus
	  EUROdj500 versus USdj500C versus EUROdj500C  !!!

	- enter the choosen command and await the compilation.

	- enter 'make install' to install your new driver.

NOTE:
- The different printertypes (Deskjet+ - Deskjet500 - Deskjet 500C) are 
related to the used compression-modes(0-2, 0-3, 0-3+9). You can use a
Deskjet+ driver on a Deskjet500C, but the speed of printing will be suboptimal.

- The default papersize is only relevant if you are printing documents,
which don't adhere to the PS-document-convention! As long as there is
a "%%Pagesize:" comment in the document, all drivers will adapt automaticly.

- This driver is only an adaption of an existing driver to 
3.0 (mostly headerfiles problems). It still uses the old machportdevice
approach instead of the new nextcreatepagedevice one. It works, but
it can be made better (especially a real Deskjet 500C support with colors etc.).



There are a few persons who should be mentioned:

Eric P. Scott, who wrote the original iwf and without whose intimate
knowledge of NeXTstep this program would not have been possible in the
first place.
Derek Beatty, who wrote a version of djf(2) with added features
like resolution button and auto-detection of PS pseudo comments.
Christian Baur, who composed the .psw parts for djf(1).
Tony Parkhurst, who wrote pclcomp, the compression routines used here.
Various other people who found errors and contributed ideas.
Reimer A. Mellin, who adapted iwf and created djf(1) together with
Uwe Meyer-Gruhl, who did the vertical improvements and put together the
various djf versions into one that now hopefully works and contains
the best from all.

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.