Results 1 to 3 of 3

Thread: More support for printers - SCRIPT

  1. #1
    Junior Member registered user
    Join Date
    Oct 2003
    Posts
    19

    More support for printers - SCRIPT

    More drivers for printers, this script install more packages with drivers for printers.

    #!/bin/bash

    case "`tty`" in
    /dev/tty[1-8])
    MODE=text
    DIA=dialog
    ;;
    /dev/pts/*|/dev/ttyp*)
    MODE=x
    export XDIALOG_HIGH_DIALOG_COMPAT=1
    [ -x /usr/bin/gdialog ] && DIA=gdialog
    [ -x /usr/bin/Xdialog ] && DIA=Xdialog
    [ $DIA = dialog ] && MODE=text
    ;;
    *)
    MODE=text
    DIA=dialog
    ;;
    esac
    if [ -z "$DISPLAY" ] ; then
    MODE=text
    DIA=dialog
    fi

    BT="Instalação do suporte a impressão"
    T1="Instalação do suporte a impressão"
    M1="Este script instala suporte a mais impressoras e atualiza os pacotes de impressão
    para as versões mais recentes. Se a sua impressora não é suportada pelo Knoppix existe
    uma grande possibilidade dela passar a funcionar depois da actualização. O processo não
    remove os pacotes já instalados, de modo que mesmo que a impressora não passe a funcionar,
    você não perde nada. \n
    Serão instalados aproximadamente 25 MB de arquivos. No final da instalação será aberto o
    kdeprinterwizard, o assistente de configuração de impressora do KDE.\n"

    $DIA --backtitle "$BT" --title "$T1" --msgbox "$M1" 24 65


    sudo apt-get -f install

    sudo apt-get install cupsys
    sudo dpkg -i --force-all /var/cache/apt/archives/cupys*
    sudo apt-get install enscript
    sudo apt-get install gv
    sudo apt-get install poster
    sudo apt-get install psutils
    sudo apt-get install cupsys-client
    sudo apt-get install cupsys-driver-gimpprint
    sudo apt-get install djtools
    sudo apt-get install apsfilter
    sudo apt-get install pconf-detect
    sudo apt-get install cupsomatic-ppd

    sudo apt-get install libgnomeprint2.2-0
    sudo apt-get install libgnomeprintui2.2-0
    sleep 8

    sudo apt-get install foomatic-db-gimp-print
    sudo apt-get install foomatic-db-hpijs
    sudo apt-get install foomatic-bin
    sudo apt-get install foomatic-data

    sudo apt-get install pnm2ppa
    sudo dpkg-reconfigure pnm2ppa

    sudo /etc/init.d/cupsys stop
    sudo /etc/init.d/cupsys start

    sleep 5

    kaddprinterwizard

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353
    Where is this from? Anyone want to translate this into English?

  3. #3
    Senior Member registered user
    Join Date
    Jul 2003
    Posts
    692
    Appears to be Portuguese. From the similarities to Spanish (and my limited understanding of that), looks like text basically says that it's installing printer drivers.

    jd

Similar Threads

  1. Printers, USB and otherwise.
    By kayl in forum Hardware & Booting
    Replies: 4
    Last Post: 05-07-2006, 11:21 AM
  2. many printers broke in knoppix 3.4+?
    By drews in forum General Support
    Replies: 32
    Last Post: 01-12-2005, 06:59 AM
  3. Knoppix/Linux and printers
    By kayl in forum Hardware & Booting
    Replies: 1
    Last Post: 02-28-2004, 10:59 PM
  4. Installing printers
    By satyr409 in forum General Support
    Replies: 1
    Last Post: 12-19-2003, 09:32 PM
  5. To many printers
    By dave52355 in forum General Support
    Replies: 3
    Last Post: 11-11-2003, 03:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •