cvs commit: hints cups-printing.txt

timothy at linuxfromscratch.org timothy at linuxfromscratch.org
Fri Dec 20 06:14:15 PST 2002


timothy     02/12/20 09:14:15

  Modified:    .        cups-printing.txt
  Log:
  Updates by author.
  
  Revision  Changes    Path
  1.4       +68 -20    hints/cups-printing.txt
  
  Index: cups-printing.txt
  ===================================================================
  RCS file: /home/cvsroot/hints/cups-printing.txt,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- cups-printing.txt	5 Oct 2001 22:43:15 -0000	1.3
  +++ cups-printing.txt	20 Dec 2002 14:14:15 -0000	1.4
  @@ -4,7 +4,8 @@
   
   SYNOPSIS:
   	Short Guide how to set up the necessary software to print using
  -	ghostscript, a2ps and CUPS, Samba  and Gimp-Print as an Option.
  +	ghostscript, psutils, a2ps, foomatic and CUPS, Samba and Gimp-
  +	Print as an Option.
   
   HINT:	
   	This is a short Hint based on other printing hints, which did
  @@ -18,20 +19,36 @@
   	Your favourite flavour of Ghostscript:
   	look at http://www.cs.wisc.edu/~ghost/, check mirror sites.
   
  -	I prefer using AFPL Ghostscript 7.00, obtainable on
  +	I prefer using AFPL Ghostscript 8.00, obtainable on
   	ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/, but any other
  -	Version should do, too.
  +	Version should do, too. You should also obtain a package of the
  +	necessary type1-fonts, e.g. GNU-ghostscript-fonts.
  +
  +	Since Version 1.1.15, CUPS no longer includes the PS RIP filter
  +	called pstoraster. So you need some ghostscript version that
  +	provides as cups raster driver. ATM, GNU ghostscript DOES NOT
  +	HAVE such a backend. So you're better off with AFPL or EPS
  +	ghostscript.
   
   	You'll also need 
  -	zlib (http://www.gzip.org/zlib, check out for mirror sites),
   	libjpeg (http://www.ijg.org, ftp://ftp.uu.net/graphics/jpeg),
   	and libpng (http://libpng.sourceforge.net, 
   	ftp://swrinde.nde.swri.edu/pub/png)
   
  +	psutils:
  +	ftp.dcs.ed.ac.uk/pub/ajcd/
  +
   	a2ps:
   	http://www.inf.enst.fr/~demaille/a2ps/
   	ftp://ftp.enst.fr/pub/unix/a2ps/
   
  +	foomatic:
  +	http://www.linuxprinting.org/download/foomatic/
  +
  +	libxml2:
  +	http://ftp.gnome.org/pub/GNOME/sources/libxml2/2.4/
  +	or search your local gnome mirror.
  +
   	cups:
   	www.cups.org
   	look on this page for your nearest mirror.
  @@ -48,19 +65,18 @@
   INSTALL:
   	Ghostscript:
   	
  -	I prefer the "symbolic link" method. If you like to extract the
  -	sources of libjpeg and zlib only into the ghostscript dir, try
  -	the other printing hint and come back when you've managed to
  -	build ghostscript.
  -
  -	ln -s ../jpeg-6b jpeg
  -	ln -s ../zlib-1.1.3 zlib
  -	cp ./src/unix-gcc.mak Makefile
  -	
  -	You can edit the Makefile for different installation dirs.
  +	Actual Versions (AFPL 8.00, GNU 7.05, ESP 7.05.5) have a
  +	./configure script that enables Ghostscript to use the system
  +	libraries, so you don't need their sources to be around on the
  +	Ghostscript installation anymore. Just type:
   
  -	If you encounter problems about HAVE_SYS_TIME_H to be
  -	redefined, add to all files shown on this script
  +	./configure --prefix=/usr &&
  +	make &&
  +	make install
  +	
  +	If you encounter problems about HAVE_SYS_TIME_H to be rede-
  +	fined, run the following script. Never versions of Ghostscript
  +	shouldn't show that behaviour anymore, but you never know:
   
   	for file in src/*.c
           do
  @@ -74,20 +90,51 @@
   	  fi
   	done
   
  -	Now type "make" and "make install" and if something goes wrong,
  -	find me on #lfs @ irc.linuxfromscratch.org and shout at me. No.
  -	Don't do that. Ask someone there for help.
  +	and retry "make && make install". It should work now.
  +
  +	Afterwards, install the fonts into the right dir (if you've
  +	chosen the prefix "/usr", it should be "/usr/share/ghostscript",
  +	otherwise read the docs	of your ghostscript release to find out 
  +	which).
  +
  +
  +	psutils:
  +
  +	cp Makefile.unix Makefile
  +
  +	Edit the Makefile for preferred prefix, includedir and mandir.
  +
  +	make &&
  +	make install
  +
  +	if mkdir gives errors about being unable to create existent
  +	directories, don't mind.
   
   
   	a2ps:
  -	./configure --prefix=/usr && 
  +
  +	./configure --prefix=/usr --enable-paths=yes && 
   	make && 
   	make install
   
   	did the job for me.
   
   
  +	foomatic:
  +
  +	foomatic will require libxml2. Since this is bl**dy easy to
  +	install, I won't lose a word on it, here.
  +
  +	./configure --prefix=/usr &&
  +	make &&
  +	make install
  +
  +	Look on http://www.linuxprinting.org for documentation about
  +	how to configure it.
  +
  +
   	cups:
  +
   	./configure && 
   	make && 
   	make install
  @@ -101,7 +148,7 @@
   
   #!/bin/sh
   #
  -# "$Id: cups-printing.txt,v 1.3 2001/10/05 22:43:15 ian Exp $"
  +# "$Id: cups-printing.txt,v 1.4 2002/12/20 14:14:15 timothy Exp $"
   #
   #   Startup/shutdown script for the Common UNIX Printing System (CUPS).
   #
  @@ -153,6 +200,7 @@
   
   
   	samba:
  +
   	You can install samba yourself. Look at "./configure --help",
   	there are some nice options, you possibly want to select. To
   	use CUPS for printing on a samba printer you need to
  
  
  
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe hints' in the subject header of the message



More information about the hints mailing list