cvs commit: BLFS/BOOK/pst/printing/cups cups-config.xml cups-desc.xml cups-exp.xml cups-inst.xml cups-intro.xml cups.ent

bdubbs at linuxfromscratch.org bdubbs at linuxfromscratch.org
Wed Jan 1 12:29:21 PST 2003


bdubbs      03/01/01 15:29:21

  Modified:    BOOK/introduction/welcome changelog.xml
               BOOK/pst/printing cups.xml
               BOOK/pst/printing/cups cups-desc.xml cups-exp.xml
                        cups-inst.xml cups-intro.xml cups.ent
  Added:       BOOK/pst/printing/cups cups-config.xml
  Log:
  CUPS update
  
  Revision  Changes    Path
  1.319     +3 -0      BLFS/BOOK/introduction/welcome/changelog.xml
  
  Index: changelog.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/introduction/welcome/changelog.xml,v
  retrieving revision 1.318
  retrieving revision 1.319
  diff -u -r1.318 -r1.319
  --- changelog.xml	1 Jan 2003 18:42:26 -0000	1.318
  +++ changelog.xml	1 Jan 2003 20:29:21 -0000	1.319
  @@ -10,6 +10,9 @@
   
   <itemizedlist>
   
  +<listitem><para>January 1st, 2003 [bdubbs]: CUPS: Updated entire
  +section.</para></listitem>
  +
   <listitem><para>January 1st, 2003 [markh]: Gnome/Content: Move db-3.x to
   Content.  At the same time, change install for db-3.1 to /tmp/db-3.1; also
   adjust Evolution to use the same.</para></listitem>
  
  
  
  1.2       +1 -0      BLFS/BOOK/pst/printing/cups.xml
  
  Index: cups.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/pst/printing/cups.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- cups.xml	1 Jan 2003 18:00:44 -0000	1.1
  +++ cups.xml	1 Jan 2003 20:29:21 -0000	1.2
  @@ -5,6 +5,7 @@
   &cups-intro;
   &cups-inst;
   &cups-exp;
  +&cups-config;
   &cups-desc;
   
   </sect1>
  
  
  
  1.2       +22 -1     BLFS/BOOK/pst/printing/cups/cups-desc.xml
  
  Index: cups-desc.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/pst/printing/cups/cups-desc.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- cups-desc.xml	1 Jan 2003 18:00:44 -0000	1.1
  +++ cups-desc.xml	1 Jan 2003 20:29:21 -0000	1.2
  @@ -1,7 +1,28 @@
   <sect2>
   <title>Contents</title>
   
  -<para>CUPS placeholder.</para>
  +<para>CUPS provides:</para>
  +
  +<para>/usr/sbin/lpc - line printer control program </para> 
  +<para>/usr/sbin/cupsd - common unix printing system daemon</para> 
  +<para>/usr/sbin/accept - accept jobs sent to a destination</para> 
  +<para>/usr/sbin/reject - reject jobs sent to a destination</para> 
  +<para>/usr/sbin/cupsaddsmb - export printers to samba for windows clients</para> 
  +<para>/usr/sbin/lpadmin - configure cups printers and classes</para> 
  +<para>/usr/sbin/lpinfo - show available devices or drivers </para> 
  +<para>/usr/sbin/lpmove - move a job to a new destination</para> 
  +<para>/usr/sbin/cupstestppd - test conformance of ppd files</para> 
  +<para>/usr/bin/lpq - show printer queue status</para> 
  +<para>/usr/bin/lpr - print files</para> 
  +<para>/usr/bin/lprm -  cancel print jobs</para> 
  +<para>/usr/bin/cancel - cancel jobs</para> 
  +<para>/usr/bin/disable -  start printers and classes</para> 
  +<para>/usr/bin/enable -  start printers and classes</para> 
  +<para>/usr/bin/lp - print files </para> 
  +<para>/usr/bin/lpoptions - display or set printer options and defaults</para> 
  +<para>/usr/bin/lpstat -  print cups status information</para> 
  +<para>/usr/bin/lppasswd - add, change, or delete digest passwords</para> 
  +<para>/usr/bin/cups-config - get cups api, compiler, directory, and link information</para> 
   
   </sect2>
   
  
  
  
  1.2       +2 -2      BLFS/BOOK/pst/printing/cups/cups-exp.xml
  
  Index: cups-exp.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/pst/printing/cups/cups-exp.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- cups-exp.xml	1 Jan 2003 18:00:44 -0000	1.1
  +++ cups-exp.xml	1 Jan 2003 20:29:21 -0000	1.2
  @@ -1,7 +1,7 @@
   <sect2>
   <title>Installation command explanations</title>
   
  -<para><userinput>Installation placeholder</userinput>.</para>
  -
  +<para>The basic default behavior of the installation is appropriate for LFS systems.  
  +CUPS files are placed in /usr/bin, /usr/sbin, /var, and /etc/cups.</para>
   
   </sect2>
  
  
  
  1.2       +1 -1      BLFS/BOOK/pst/printing/cups/cups-inst.xml
  
  Index: cups-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/pst/printing/cups/cups-inst.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- cups-inst.xml	1 Jan 2003 18:00:44 -0000	1.1
  +++ cups-inst.xml	1 Jan 2003 20:29:21 -0000	1.2
  @@ -3,7 +3,7 @@
   
   <para>Install CUPS by running the following commands:</para>
   
  -<para><screen><userinput>./configure --prefix=/usr &&
  +<para><screen><userinput>./configure &&
   make &&
   make install</userinput></screen></para>
   
  
  
  
  1.2       +6 -1      BLFS/BOOK/pst/printing/cups/cups-intro.xml
  
  Index: cups-intro.xml
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/pst/printing/cups/cups-intro.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- cups-intro.xml	1 Jan 2003 18:00:44 -0000	1.1
  +++ cups-intro.xml	1 Jan 2003 20:29:21 -0000	1.2
  @@ -9,8 +9,13 @@
   Estimated Disk space required:  &cups-buildsize;</screen>
   
   <para><screen>For non-postscript printers, CUPS depends on: <xref linkend="gs"/></screen></para> 
  +<para><screen>If available, CUPS will use: <xref linkend="libjpeg"/>, <xref linkend="libpng"/>, and 
  +<xref linkend="libtiff"/></screen></para> 
   
   
  -<para>CUPS is ...</para>
  +<para>The Common UNIX Printing System ("CUPS") is a print spooler and 
  +associated utilities. It is based on the "Internet Printing Protocol" 
  +and provides printing services to most PostScript and 
  +raster printers.</para>
   
   </sect2>
  
  
  
  1.2       +3 -2      BLFS/BOOK/pst/printing/cups/cups.ent
  
  Index: cups.ent
  ===================================================================
  RCS file: /home/cvsroot/BLFS/BOOK/pst/printing/cups/cups.ent,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- cups.ent	1 Jan 2003 18:00:44 -0000	1.1
  +++ cups.ent	1 Jan 2003 20:29:21 -0000	1.2
  @@ -2,9 +2,10 @@
   <!ENTITY cups-intro SYSTEM "cups-intro.xml">
   <!ENTITY cups-inst SYSTEM "cups-inst.xml">
   <!ENTITY cups-desc SYSTEM "cups-desc.xml">
  +<!ENTITY cups-config SYSTEM "cups-config.xml">
   <!ENTITY cups-exp SYSTEM "cups-exp.xml">
  -<!ENTITY cups-buildsize "TBD">
  +<!ENTITY cups-buildsize "21 MB">
   <!ENTITY cups-version "1.1.18">
   <!ENTITY cups-download-http "http://www.cups.org/software.html">
   <!ENTITY cups-download-ftp "ftp://ftp.easysw.com/pub/cups/&cups-version;/cups-&cups-version;-source.tar.bz2">
  -<!ENTITY cups-size "TBD">
  +<!ENTITY cups-size "3.3 MB">
  
  
  
  1.1                  BLFS/BOOK/pst/printing/cups/cups-config.xml
  
  Index: cups-config.xml
  ===================================================================
  <sect2>
  <title>CUPS Configuration</title>
  
  <para>Configuration of CUPS is dependent on the type of printer and can be complex.  
  Generally, postscript printers are easier.  For detailed instructions on 
  configuration and use of CUPS, see <ulink url="http://www.cups.org/documentation.html"/>.
  The Software Administrators Manual and Software Users Manual are particularly
  useful.</para>
  
  <para>During the install, cups created the startup file 
  <filename>/etc/rc.d/init.d/cups</filename>.
  The file works, but you may want to change it to a more 
  conventional LFS startup file:</para>
  
  <para><screen><userinput>cat > /etc/rc.d/inst.d/cups << "EOF"
  
  #!/bin/sh
  # Begin $rc_base/init.d/cups
  
  # Start or stop the CUPS server based upon the first argument to the script.
  
  source /etc/sysconfig/rc
  source $rc_functions
  
  case $1 in
      start)
             echo "Starting CUPS Printserver..."
             loadproc /usr/sbin/cupsd
             ;;
      stop)
             echo "Stopping CUPS Printserver..."
             killproc cupsd
             ;;
  
      reload)
             echo "Reloading CUPS Printserver..."
             reloadproc /usr/sbin/cupsd
             ;;
  
      restart)
             $0 stop
             sleep 1
             $0 start
             ;;
  
      status)
             statusproc cupsd
             ;;
  
      *)
             echo "Usage: $0 {start|stop|reload|restart|status}"
             exit 1
             ;;
  esac
  
  # End $rc_base/init.d/cups startup script.
  EOF</userinput></screen></para>
  
  <para>The CUPS install also copies the initialization script to the 
  <filename>/etc/rc.d/rc{0,2,3,5}</filename> directories.  You may want 
  to delete those files and add symbolic links to 
  <filename>/etc/rc.d/init.d/cups</filename>.</para>
  
  
  
  </sect2>
  
  
  
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-book' in the subject header of the message



More information about the blfs-book mailing list