Ultime liste de discussion du Labo 604

Vous souhaitez réagir à ce message ? Créez un compte en quelques clics ou connectez-vous pour continuer.
Ultime liste de discussion du Labo 604

installation et gestion de réseaux sous linux

Le Deal du moment : -45%
WHIRLPOOL OWFC3C26X – Lave-vaisselle pose libre ...
Voir le deal
339 €

    [Arch Linux] Printing ...

    mvh
    mvh


    Masculin Nombre de messages : 567
    Date d'inscription : 24/12/2006

    [Arch Linux]  Printing ... Empty Re: [Arch Linux] Printing ...

    Message  mvh Ven 24 Juil - 22:05

    ... suite :

    Code:
    bash-3.2# yaourt gutenprint
    1 extra/gutenprint 5.2.3-1
        Top quality printer drivers for POSIX systems
    ==>  Enter n° (separated by blanks, or a range) of packages to be installed
    ==>  ----------------------------------------------
    ==>q
    bash-3.2# yaourt cups     
    1 extra/cups 1.3.9-4 [1.3.9-1 installé]
        The CUPS Printing System
    2 extra/cups-pdf 2.5.0-1
        PDF printer for cups
    3 extra/gtklp 1.2.6-5
        Tools to use and administrate CUPS
    4 extra/libcups 1.3.9-3 [1.3.9-1 installé]
        The CUPS Printing System
    5 extra/libgnomecups 0.2.3-4 [installé]
        GNOME cups library
    6 extra/pycups 1.9.45-1
        Python CUPS Bindings
    7 extra/system-config-printer 1.1.5-1
        Pygtk CUPS Configuration
    8 community/apcupsd 3.14.5-1
        Apcupsd can be used for power mangement and controlling most of APC's UPS
        models on Unix and Windows machines.
    9 community/cupsddk 1.2.3-3
        CUPSD Development Kit
    10 community/gnome-cups-manager 0.33-6
        A CUPS manager for the Gnome Desktop Environment
    11 community/hal-cups-utils 0.6.13-1
        Cups management via HAL UDIs
    12 community/splix 2.0.0-1
        CUPS drivers for SPL (Samsung Printer Language) printers
    13 community/system-config-printer-gnome 1.1.5-1
        Pygtk CUPS Configuration
    ==>  Enter n° (separated by blanks, or a range) of packages to be installed
    ==>  ----------------------------------------------
    ==>q
    bash-3.2#
    mvh
    mvh


    Masculin Nombre de messages : 567
    Date d'inscription : 24/12/2006

    [Arch Linux]  Printing ... Empty Re: [Arch Linux] Printing ...

    Message  mvh Mar 9 Déc - 17:05

    cups-pdf ...

    Code:
    bash-3.2# pacman -Sy cups-pdf
    :: Synchronisation des bases de données de paquets...
     core est à jour;
     extra est à jour;
     community                351,0K  104,0K/s 00:00:03 [#####################] 100%
    Résolution des dépendances...
    Recherche des conflits possibles entre paquets...

    Cibles: cups-pdf-2.4.8-1 

    Taille totale des paquets (téléchargement):  0,02 Mo
    Taille totale des paquets (installation):  0,05 Mo

    Procéder à l'installation? [O/n] O
    :: Récupération des paquets du dépôt extra...
     cups-pdf-2.4.8-1-i686    16,9K  156,8K/s 00:00:00 [#####################] 100%
    Analyse de l'intégrité des paquets...
    (1/1) Analyse des conflits entre fichiers          [#####################] 100%
    (1/1) Installation cups-pdf                        [#####################] 100%
    -------------------------------------------------
    To use cups-pdf, restart cups and visit the cups
    web interface at http://localhost:631/

    You can now add a "Virtual Printer (PDF Printer)"
    and use the Postscript/Generic postscript color
    printer driver.

    Note that cups-pdf has a configuration
    file in /etc/cups. The default location for
    pdf output is /var/spool/cups-pdf/$username.
    -------------------------------------------------
    bash-3.2#
    mvh
    mvh


    Masculin Nombre de messages : 567
    Date d'inscription : 24/12/2006

    [Arch Linux]  Printing ... Empty Re: [Arch Linux] Printing ...

    Message  mvh Jeu 4 Déc - 20:52

    a2ps ... et quelques autres ...

    RESOLU ... n'envoie pas à l'imprimante ...
    =>> ... dans /etc/a2ps/a2ps-site.conf

    Code:
    bash-3.2# ls | a2ps
    bash: a2ps: command not found
    bash-3.2# pacman -S a2ps
    Résolution des dépendances...
    Avertissement: Une provision a été sélectionnée (freeglut fournit glut)
    Recherche des conflits possibles entre paquets...

    Cibles (13): ghostscript-8.63-3  psutils-1.17-1  gsfonts-8.11-4 
                libwmf-0.2.8.4-4  libcroco-0.6.1-1  libgsf-1.14.8-1 
                librsvg-2.22.3-1  ilmbase-1.0.1-1  openexr-1.6.1-1 
                freeglut-2.4.0-3  jasper-1.900.1-1  imagemagick-6.4.6.3-1 
                a2ps-4.13c-1 

    Taille totale des paquets (téléchargement):  33,94 Mo
    Taille totale des paquets (installation):  71,99 Mo

    Procéder à l'installation? [O/n] O
    :: Récupération des paquets du dépôt extra...
     ghostscript-8.63-3-i686  22,4M 1619,0K/s 00:00:14 [#####################] 100%
     psutils-1.17-1            65,9K  744,2K/s 00:00:00 [#####################] 100%
     gsfonts-8.11-4            3,6M 1353,0K/s 00:00:03 [#####################] 100%
     libwmf-0.2.8.4-4        367,8K 1241,7K/s 00:00:00 [#####################] 100%
     libcroco-0.6.1-1        214,3K  841,0K/s 00:00:00 [#####################] 100%
     libgsf-1.14.8-1-i686    257,6K 1303,1K/s 00:00:00 [#####################] 100%
     librsvg-2.22.3-1-i686    258,5K 1113,9K/s 00:00:00 [#####################] 100%
     ilmbase-1.0.1-1-i686    313,9K 1044,5K/s 00:00:00 [#####################] 100%
     openexr-1.6.1-1-i686      3,3M 1329,1K/s 00:00:03 [#####################] 100%
     freeglut-2.4.0-3-i686    184,0K 1075,2K/s 00:00:00 [#####################] 100%
     jasper-1.900.1-1        346,3K 1347,1K/s 00:00:00 [#####################] 100%
     imagemagick-6.4.6.3...    2,1M 1087,1K/s 00:00:02 [#####################] 100%
     a2ps-4.13c-1            661,2K 1059,7K/s 00:00:01 [#####################] 100%
    Analyse de l'intégrité des paquets...
    (13/13) Analyse des conflits entre fichiers        [#####################] 100%
    ( 1/13) Installation ghostscript                    [#####################] 100%
    ==> To use dvipdf, you need to install tetex:
    ==> # pacman -S tetex
    ( 2/13) Installation psutils                        [#####################] 100%
    ( 3/13) Installation gsfonts                        [#####################] 100%
    Updating font cache... done.
    ( 4/13) Installation libwmf                        [#####################] 100%
    ( 5/13) Installation libcroco                      [#####################] 100%
    ( 6/13) Installation libgsf                        [#####################] 100%
    ( 7/13) Installation librsvg                        [#####################] 100%
    ( 8/13) Installation ilmbase                        [#####################] 100%
    ( 9/13) Installation openexr                        [#####################] 100%
    (10/13) Installation freeglut                      [#####################] 100%
    (11/13) Installation jasper                        [#####################] 100%
    (12/13) Installation imagemagick                    [#####################] 100%
    (13/13) Installation a2ps                          [#####################] 100%
    bash-3.2#

    configuration ...

    ... dans /etc/profile
    Code:
    export PRINTER="lp"
    ... dans /etc/a2ps/a2ps-site.conf
    Code:

    #################################################################
    # 1)   System dependent parameters            #
    #################################################################

    # Default encoding
    # Options: --encoding=euc-jp
    Options: --encoding=latin1

    # Default medium
    Options: --medium=A4
    !modif
    Code:
    --encoding=euc-jp => --encoding=latin1

    ==>> actuellement :
    Code:
    bash-3.2# a2ps IBF.txt -o - | lp
    [IBF.txt (plain): 1 page on 1 sheet]
    [Total: 1 page on 1 sheet] sent to the standard output
    l?identifiant de requête est Kyo-10 ( 1 fichier(s) )
    bash-3.2#

    Pour la suite ... dans /etc/a2ps/a2ps-site.conf

    Code:

    #################################################################
    # 2)   Your printers                  #
    #################################################################

    # By default, produce Level 1 Postscript.
    # Currently it only means to consider only the 13 level 1 standard
    # fonts, and not the 35 standard level 2 fonts.
    DefaultPPD: level1

    # NOTE:
    # Because sending a file to a printer is system dependent and because
    # this file is meant to be system independent, there are two variables
    # defined in a2ps.cfg you should use here.
    # - #{lp.default}
    #  Its value is typically `lp' or `lpr'.
    # - #{lp}
    #  Its value is typically `lp -d' or `lpr -P'.  Immediately after
    #  #{lp} there should be the name of the printer.
    #

    ### DefaultPrinter
    # DefaultPrinter is the printer which is called upon `a2ps -d'.
    # DefaultPrinter: | #{lp.default}
    DefaultPrinter: | lp

    ### UnknownPrinter
    # The `UnknownPrinter' is the command used when the user specified
    # the name of the printer (a2ps -P <printer-name>), but <printer-name>
    # is not specified below as a special case.
    # <printer-name> is available here as `#o'.
    UnknownPrinter: | #{lp} #o

    ### Some special printers.
    # This section is to fill only if you want to tune your system.
    # The entry `UnknownPrinter' is enough to handle any case.

    # For instance, I want to specify that arlette is a Level 2 Postscript
    # printer.  I specif no command, so the `UnknownPrinter' command will
    # be used.
    #Printer: arlette level2

    # dominique is a level 2 Postscript _without_ Duplex support.
    # Here I *want* a special command, not that of the UnknownPrinter.
    # We use the shell script psmandup to simulate Duplex.
    #Printer: dominique level2 | #?d#psmandup -n|## #{lp} dominique

    # This is just to show that any command can be used.  Instead of
    # printing, the output is piped in `wc'.
    #Printer: wc | wc -l

    # You can also save in a file if you wish.
    #Printer: netscape >netscape.ps

    # This example uses the fact that `$N' expands in the input file name,
    # so a2ps foo -P gzip will save the output in foo.ps.gz.
    #Printer: gzip | gzip -c > $N.#..gz
    !modif
    Code:
    DefaultPrinter: | #{lp.default} ==>> DefaultPrinter: | lp
    mvh
    mvh


    Masculin Nombre de messages : 567
    Date d'inscription : 24/12/2006

    [Arch Linux]  Printing ... Empty [Arch Linux] Printing ...

    Message  mvh Jeu 4 Déc - 20:49

    CUPS ...

    http://wiki.archlinux.org/index.php/CUPS_Setup
    http://math.univ-lille1.fr/~hafidi/cups_printing.txt

    Code:
    bash-3.2# pacman -S cups
    Résolution des dépendances...
    Recherche des conflits possibles entre paquets...

    Cibles (6): openslp-1.2.1-1  xdg-utils-1.0.2-1  libcap-1.10-2 
                libdaemon-0.13-1  avahi-0.6.23-2  cups-1.3.9-1 

    Taille totale des paquets (téléchargement):  4,19 Mo
    Taille totale des paquets (installation):  19,42 Mo

    Procéder à l'installation? [O/n] O
    :: Récupération des paquets du dépôt extra...
     openslp-1.2.1-1          124,7K 1034,9K/s 00:00:00 [#####################] 100%
     xdg-utils-1.0.2-1        44,3K  570,0K/s 00:00:00 [#####################] 100%
     libcap-1.10-2            27,0K  482,0K/s 00:00:00 [#####################] 100%
     libdaemon-0.13-1-i686    22,4K  334,4K/s 00:00:00 [#####################] 100%
     avahi-0.6.23-2-i686      728,2K 1524,1K/s 00:00:00 [#####################] 100%
     cups-1.3.9-1-i686          3,3M 1342,1K/s 00:00:02 [#####################] 100%
    Analyse de l'intégrité des paquets...
    (6/6) Analyse des conflits entre fichiers          [#####################] 100%
    (1/6) Installation openslp                          [#####################] 100%
    (2/6) Installation xdg-utils                        [#####################] 100%
    (3/6) Installation libcap                          [#####################] 100%
    (4/6) Installation libdaemon                        [#####################] 100%
    (5/6) Installation avahi                            [#####################] 100%
    adding avahi system group... done.
    adding avahi system user... done.
    ==> The following daemons may be added to DAEMONS in /etc/rc.conf:
     -> avahi-daemon  - the mdns responder, you probably want this.
                        dbus needs to be running when you start it.
     -> avahi-dnsconfd - daemon used for peer-to-peer automatic dns
                        configuration on dhcp-less networks.

    ==> To use some of the client applications you will have to install python.
     -> In addition, pygtk is required for the graphical ones and
        twisted-web for avahi-bookmarks.

    Dépendances optionnelles pour avahi
        qt3:Qt3 UI support
        libglade:Avahi-discover-standalone
        nss-mdns:NSS support for mDNS
    (6/6) Installation cups                            [#####################] 100%
    bash-3.2#

    config CUPS ...
    lancer le daemon ...
    Code:
    /etc/rc.d/cups start
    accéder au site web du serveur ...
    Code:
    firefox http://localhost:631/
    ... ajouter une imprimante.

    aller chercher le fichier ppd s'il manque ...
    Code:
    http://www.linuxprinting.org/download/PPD/
    finir la configuration ...

    Audit ...

    Code:
    bash-3.2# yaourt cups                     
    1 extra/cups 1.3.9-1 [installé]
        The CUPS Printing System
    2 extra/cups-pdf 2.4.8-1
        PDF printer for cups
    3 extra/gtklp 1.2.6-4
        GtkLP and GtkLPQ are two tools to use and administrate CUPS a better way.
    4 extra/libcups 1.3.9-1 [installé]
        The CUPS Printing System
    5 extra/libgnomecups 0.2.3-3
        GNOME cups library
    6 community/apcupsd 3.14.4-1
        Apcupsd can be used for power mangement and controlling most of APC's UPS
        models on Unix and Windows machines.
    7 community/cupsddk 1.2.3-3
        CUPSD Development Kit
    8 community/gnome-cups-manager 0.33-4
        A CUPS manager for the Gnome Desktop Environment
    9 community/hal-cups-utils 0.6.13-1
        Cups management via HAL UDIs
    10 community/pycups 1.9.42-2
        Python CUPS Bindings
    11 community/splix 1.1.1-2
        CUPS drivers for SPL (Samsung Printer Language) printers
    12 community/system-config-printer 1.0.12-1
        Pygtk CUPS Configuration
    13 aur/bjfiltercupsi250 2.3-1
        Bjfiltercups for canon i250
    14 aur/brother-hl2030 2.0.1-1
        Brother HL-2030 CUPS driver
    15 aur/brother-mfc210c-cupswrapper 1.0.2_3-1
        Brother LPR-to-CUPS wrapper for MFC-210C and compatible printers
    16 aur/brother-mfc210c-fixed-version 1.0.0-3
        Brother CUPS driver: DCP-115C, DCP-117C, DCP-120C, DCP-315CN, DCP-340CW,MFC-215C, MFC-425CN, MFC-640CW, MFC-820CW and MFC-210C
    17 aur/brother-mfc240c 1.0.1-1
        CUPS driver for Brother MFC-240C printer
    18 aur/brother-mfc260c 1.0.1-1
        CUPS driver for Brother MFC-260C printer
    19 aur/brother-mfc260c-cupswrapper 1.0.1_1-2
        Brother LPR-to-CUPS wrapper for MFC-260C and compatible printers
    20 aur/cjlz35le-cups 2.0_1-1
        Lexmark z35 printer driver for CUPS
    21 aur/cnijfilter-mp210 2.80-1
        Canon PIXMA MP210 printing driver for CUPS
    22 aur/cups-bjnp 0.4-1
        CUPS backend for the canon proprietary network printing protocol, BJNP.
    23 aur/cups-lexmark-700 1.1.1-1
        Lexmark Z700/P700/P3150 Printer Driver
    24 aur/cups-mc2430dl 1.6.0-1
        CUPS driver for Konica Minolta magicolor 2430 Desklaser printer
    25 aur/cups-mc5430dl 1.8.0-2
        CUPS driver for Konica Minolta magicolor 5430 Desklaser printer
    26 aur/cups-mc5440dl 1.2.0-1
        CUPS driver for Konica Minolta magicolor 5440 Desklaser printer
    27 aur/cups-xerox 2007.10.04-1
        Drivers for various Xerox printers
    28 aur/dcp130c 1.0.1-1
        CUPS driver for Brother DCP-130C printer
    29 aur/epson-c65_c66-epkowa-driver 2.6.2_2-2
        Cups closed-source driver for Epson C65 and C66 printers made by epkowa
    30 aur/fax4cups 1.28-1
        A simple shell script that acts as a CUPS backend for a serial faxmodem.
    31 aur/gkrellmapcupsd 0.02-1
        gkrellm plugin that display info about a wired apc ups
    32 aur/lexmarkz-cups 1-4
        Lexmark Z35, Z55, Z65, Z600 and Z700 Printer Drivers for CUPS
    33 aur/m2300w 0.51-2
        CUPS driver for the Minolta/QMS magicolor2300w
    34 aur/pstocanonbj 3.3-1
        Filter called by CUPS to exec bjfilter
    35 aur/samsung-scx4200 2.00.97-1
        Samsung SCX-4200 CUPS driver
    36 aur/samsung2010p 2.00.97-1
        Samsung ML-2010P CUPS driver


    Dernière édition par mvh le Ven 5 Déc - 3:22, édité 3 fois

    Contenu sponsorisé


    [Arch Linux]  Printing ... Empty Re: [Arch Linux] Printing ...

    Message  Contenu sponsorisé


      La date/heure actuelle est Mar 7 Mai - 9:57

      Ne ratez plus aucun deal !
      Abonnez-vous pour recevoir par notification une sélection des meilleurs deals chaque jour.
      IgnorerAutoriser