Sophie

Sophie

distrib > Mandriva > 8.1 > i586 > by-pkgid > a79cf6d2ce8446b1fd0c8388df9e424d > files > 349

omni-0.4-11mdk.i586.rpm



File: Omni_RPM.readme                                        02/22/2001


                Installing and Using Omni.RPM Packages
                --------------------------------------

The following document will explain how to use the Omni Printer Device
driver RPM packages.

Due to the need to provide a simpler way to install and use the Omni
Printer Driver model on a system, we have developed a way to install just
the manufacturer of choice libraries on a system.  You will no longer
need to build the entire Omni package.  All the libraries needed are included
in the RPM files and can be installed and used.  You will just need to patch
and rebuild of Ghostscript (other packages later).

For the list of printers supported by the manufacturer, by model, please
refer to the Omni.readme.1st on our website.




Fixes/Updates
=============

  02/22/2001
    First release




Installation:
=============

1. Ghostscript 5.50 Enviroment:

  1.1  Ghostscript download:
       ---------------------

     Licensing:

   http://www.cs.wisc.edu/~ghost/gnu/index.html

   Download Ghostscript required files for the ability of building
   the ghostscript executable

     Download:

   ftp://ftp.cs.wisc.edu/ghost/gnu/gs550/

        gnu-gs-5.50.tar.gz
        gnu-gs-5.50jpeg.tar.gz
        gnu-gs-5.50libpng.tar.gz
        gnu-gs-5.50zlib.tar.gz

   referenced from:

   http://www.cs.wisc.edu/~ghost/gnu/gnu550.html

  1.2  Ghostscript Installation:
       -------------------------

   If you have already installed a previous version of Omni with Ghostscript, please
   proceed to 1.3.2. 

   NOTE: These commands assume that you use the proper paths for copying/unziping
         Ex: the files are located in /tmp

   Install Ghostscript
           extract ghostscript
                   cd /
                   tar -xvzf /tmp/gnu-gs-5.50.tar.gz

           change to that directory
                   cd gs5.50

           extract the 3rd party source files
                   tar -xvzf /tmp/gnu-gs-5.50jpeg.tar.gz
                   mv jpeg-6b jpeg
                   tar -xvzf /tmp/gnu-gs-5.50libpng.tar.gz
                   mv libpng-1.0.2 libpng
                   tar -xvzf /tmp/gnu-gs-5.50zlib.tar.gz
                   mv zlib-1.1.3 zlib

           link X11
                   cd /usr
                   ln -s X11R6 X11
                   cd /gs5.50

           make sure that you can build what you just installed
                   ln -s unix-gcc.mak Makefile
                   make

 1.3  Apply Ghostscript Patches:
      --------------------------

   1.3.1

   You will need to apply a patch to the current Ghostscript
   installation you just built.  This can be done by applying
   the current level of patch for Ghostscript.  This is done
   by:

     - Change to the gs5.50 (current Ghostscript directory)
     - run:
         patch < Omni.patch.022001.clean

   This will make changes to ghostscript that will allow the
   use of the Omni printer drivers.

   You will now need to rebuild Ghostscript again by running:

      make

   from the command line.

   1.3.2

   Since you have already installed Ghostscript and previous
   versions of the Omni drivers, please just apply the latest
   Omni patch:

         patch < Omni.patch.022001.update

   to your system.  This needs to be applied after .082100 and
   .113000 patches.
   After you apply this patch, you can utilize the libraries in
   the .rpm files.  Sources and full build environment can still
   be downloaded if additional changes/modifications are wished.


       


2.  Installing the Omni driver RPM files
    ------------------------------------

  You will need to download the core Omni rpm file, currently
    Omni-0.0.7-1.i386.rpm.

  Download the manufacturer driver rpm files.  They will match
  the Omni version and revision numbers.

    Omni_Epson-0.0.7-1.i386.rpm
    Omni_Canon-0.0.7-1.i386.rpm
    Omni_Brother-0.0.7-1.i386.rpm
    Omni_Okidata-0.0.7-1.i386.rpm
    Omni_Xerox-0.0.7-1.i386.rpm
    Omni_TI-0.0.7-1.i386.rpm
    Omni_KS-0.0.7-1.i386.rpm

  Note:
    Insure that the core Omni driver file version matches the
    driver specific versions ie. 0.0.7-1.

  2.1  Installing Omni-xxx.rpm
       -----------------------

    - Go to the directory where the .rpm files where downloaded.
    - Install the core Omni driver library by typing:

       rpm -i Omni-xxx.rpm (xxx denotes level.i386 values)

      This installation will create a directory in /usr/lib/Omni and
      install the library in that directory.  It will also alter
      the /etc/ld.so.conf with the addition of:
             /usr/lib/Omni

   IMPORTANT NOTE:
      This must be done before installing the driver libraries in
      step 2.2.

  2.2  Installing Omni_Manufacturer-xxx.rpm
       -----------------------------------

   - While still in the same directory, install the driver libraries.
     This is done the same way as earlier:

       rpm -i Omni_Manufacturer-xxx.rpm

     This will add the driver specific libraries to the system in the
     /usr/lib/Omni directory.


Usage:
======

  Please refer to our main Omni.readme.1st for usage instructions.
  With this installation process, you will not need to set the
  LD_LIBRARY_PATH as stated in the Omni.readme.1st document.


Removal:
========

  Remove by using the following command:

    rpm -e Omni_[Manufacturer]-0.0.7-1       -- this will remove the driver
                                                files
    rpm -e Omni-0.0.7-1                      -- this will remove the core
                                                Omni library.
  
  The line added to the /etc/ld.so.conf file during installation can be
  removed.  You will need to edit the /etc/ld.so.conf file and remove:
      /usr/lib/Omni


Known problems:
===============

  No dependancy checking so you will have to insure that all things are
  done correctly while applying or removing the drivers.