TITLE:		Printing on LFS
LFS VERSION:	any
AUTHOR:		Fabio Fracassi <f.fracassi@gmx.net>

SYNOPSIS:
	Short Guide, on how to set up a Spooler & Printing System on LFS
 
HINT:
	This is just a short Hint, on how I got it working, basically
	it includes only the compile and some configuration options	
	I used.
	My installation is far from perfect, so I would appreciate
	any update from your side.

	You can check 

	http://www.linuxdoc.org/HOWTO/Printing-HOWTO/index.html

	for more help.

	I hope this helps nevertheless.

DOWNLOADS:

	ftp://ftp.lprng.com/pub/LPRng/LPRng/LPRng-3.7.4.tgz
	
	http://download.sourceforge.net/ghostscript/ghostscript-6.50.tar.gz
	
	ftp://ftp.cs.wisc.edu/ghost/aladdin/gs650/ghostscript-6.50jpeg.tar.gz
	(if you don't have png and zlib installed you might want to 
	 get them from them from ftp://ftp.cs.wisc.edu/ghost/aladdin/gs650/
	 you normaly install them if you follow Sergeys XFree Hint)
	
	ftp://ftp.enst.fr/pub/unix/a2ps/a2ps-4.13.tar.gz	

	
	http://freshmeat.net/projects/apsfilter/download/apsfilter-5.4.2.tar.gz


INSTALL:
	
    LPRng:
		./configure \
			--prefix=/usr \
			--sysconfdir=/etc \
			--disable-setuid \
			--enable-kerberos 
		make
		make install

    Ghostscript 6.01:
		unpack ghostscript and ghostscriptjpeg even if you already
		have a working libjpg, this is needed to fix some 
		incompatibility introduced by Adobe, IIRC 
		(see GS-DOC's for more information)
		
		ln -s ./src/unix-gcc.mak Makefile

		edit Makefile: 
		  find "JSRCDIR=jpeg" and replace it with "JSRCDIR=jpeg-6b" 
	
		make
		make install
		cd /usr/share/ghostscript
		tar -xvzf <...>/ghostscript-fonts-std-6.0.tar.gz
		tar -xvzf <...>/ghostscript-fonts-other-6.0.tar.gz
    
	
	Seems to be in the LFS Base system now! You might NOT need it anymore!
	[file: 
		(Double Check with the Docs, this section is from memory)
		

		./configure \
			--prefix=/usr
		make
		make install
    ]
	a2ps:
		./configure \
			--enable-shared \
			--disable-nls 
		make
		make install
	
		edit /usr/local/etc/a2ps.cfg:
		in section 7 find
	    	"FileCommand:" and replace it with "FileCommand: file -L"
    
	apsfilter:
		(I am not sure with this one anymore might need some 
		 compilation, check the docs)
		cp uniprint/*.upp /usr/share/ghostscript/6.01/lib
		./SETUP