Gestion des Imprimantes et Impression sous Kubuntu

This document contains information about various printing options that Kubuntu™ offers and other related tasks.


L'impression

Most printers are supported by Kubuntu™. SettingsSystem Settings Printer Configuration provides the ability to add printers, modify their settings, monitor printing jobs, suspend or restart printers, and set up printer sharing.

Gestionnaire de périphérique HP

The HP Device Manager simplifies the configuration of printers, including HP Multifunction Devices (MFDs) — printers that also copy and scan. This application should be used if there is a direct connection from the computer to the printer via USB, LPT (parallel port), or network (direct connection or JetDirect™). The HP Device Manager does not work with printers on a shared network using Samba. If the printer is configured with Samba, the section called “Imprimante réseau” is recommended.

To open the HP Device Manager, press Alt+F2. In the Run Command dialog, type printer toolbox followed by pressing the OK button or pressing the Enter key. If this is the first time opening the application, the No Installed HP Devices Found dialog will appear. Three choices will be presented:Setup Device..., CUPS Web Interface, and Close. To set up the printer, select the Setup Device... button. When prompted for a password, enter the correct password and then press the OK button. Select the option that suits the printer configuration and complete the setup. The HP Device Manager has the ability to automatically detect any attached devices, or to scan a network for any compatible devices.

For more information on the HP Device Manager, install the hplip-docs package. Please refer to the Adding Applications documentation for more information on installing extra applications. Once the hplip-docs are installed, they can be accessed by going to HelpContents... or browsing to file:///usr/share/doc/hplip-doc/HTML/index.html.

Imprimante locale

Une imrimante locale est une imprimante directement connectée à l'ordinateur (la section suivante traite des imprimantes réseau). Pour paramétrer une nouvelle imprimante locale:

  1. Déterminez le nom du modèle de l'imprimante et assurez-vous que l'imprimante est allumée.

  2. Choose K menuSystem Settings and select Printer Configuration to open the system-settings-config-printers system dialog.

  3. Choose AddAdd Printer/Class...

  4. L'imprimante devrait être repérée automatiquement. Si c'est le cas, cliquez sur Suivant > puis sur Terminer.

  5. Pour terminer, entrez une description et l'emplacement de l'imprimante

Some printers may need further setup steps. If the printer was not automatically detected, try to select the port and printer driver manually. Search the databases at The Linux Foundation or check the Ubuntu™ wiki's Printer page for possible information on the printer.

Imprimante réseau

Kubuntu™ can be configured to send print jobs to a remote print server. Remote printers are attached through a network. To configure a remote printer:

  1. Déterminez le nom du modèle de l'imprimante et assurez-vous que l'imprimante est allumée.

  2. Choose K menuSystem Settings and select Printer Configuration to open the system-settings-config-printers system dialog.

  3. Choisissez Nouvelle imprimanteClasse de la nouvelle imprimante.

  4. Dans la boîte de dialogue Introduction, cliquez le bouton Suivant.

  5. Dans la boîte de dialogue Choix du type d'interface, sélectionnez le type de connexion que vous voulez utiliser et cliquez sur le bouton Suivant.

  6. At the User Identification dialog, select the type of authentication that is used by either the remote printer or the system that is sharing the remote printer.

    Tip

    If there is a question, try Anonymous (no login/password) and press the Next > button. If this fails, try with Guest account (login="guest").

  7. Dans la fenêtre Paramètres de l'imprimante appuyez sur le bouton Scanner. S'il y a des erreurs d'authentification, appuyez sur le bouton < Retour et essayez l'étape précédente avec un paramétrage d'authentification différent. Si tout va bien, sélectionnez l'imprimante distante et appuyez sur le bouton Suivant >.

  8. After KDE™ builds the driver database, the Printer Model Selection dialog will display a list with Manufacturer and Model information. Locate the printer, highlight the corresponding drivers, and press the Next > button. If no information pertaining to the printer is found, please search the databases at The Linux™ Foundation or check the Ubuntu™ wiki's Printer page for possible information on the printer.

  9. Pour cette étape, la fenêtre de dialogue propose deux choix possibles. Si les pilotes ont été paramétrés automatiquement, la fenêtre du Test d'impression s'affichera. Dans le cas contraire, la fenêtre de Sélection du pilote s'affichera.

    1. Dans la fenêtre du Test d'impression, effectuez un test d'impression pour vérifier le bon fonctionnement de l'imprimante. Lorsque le test est terminé, appuyez sur le bouton Suivant >.

    2. Dans la fenêtre de Sélection du pilote, il vous sera demandé de sélectionner un pilote approprié. S'il y a un pilote [recommandé], sélectionnez-le et appuyez sur le bouton Suivant >. S'il n'y a pas de pilote recommandé, essayez chaque pilote pour trouver celui qui convient pour votre imprimante.

  10. Dans la fenêtre Sélection de la bannière, sélectionnez les bannières de Début et de Fin. Lorsque c'est terminé, appuyez sur le bouton Suivant >.

  11. Dans la fenêtre Réglage du quota de l'imprimante indiquez la taille du quota alloué à l'imprimante. Ceci représente la taille maximale ou le nombre maximal de pages alloué à tout moment. Lorsque c'est terminé, appuyez sur le bouton Suivant >.

  12. Dans la fenêtre Paramètres de l'accès utilisateurs, des règles d'accès peuvent être définies pour les utilisateurs et les groupes. Lorsque c'est terminé, appuyez sur le bouton Suivant >.

  13. Dans la fenêtre Informations générales, entrez au moins un Nom pour l'imprimante. Lorsque c'est terminé, appuyez sur le bouton Suivant >.

  14. La dernière fenêtre affichée est Confirmation. Vérifiez l'exactitude des informations et appuyez sur le bouton Terminer pour terminer l'installation.

Serveur d'impression Samba

Samba is commonly used to configure printer sharing, installed locally or over the network, on an Ubuntu™ server. Similar to Samba-fileserver, this section will show how to configure Samba to allow any client on the local network to use the installed printers without prompting for a username and password.

For a more secure configuration, see Samba-fileprint-security.

Installation

Before installing and configuring Samba, it is best to have a working CUPS™ installation. See the Ubuntu™ official documentation CUPS™ page for details.

To install the Samba package, from a terminal enter:

sudo apt-get install samba

Configuration

After installing the Samba package, edit /etc/samba/smb.conf. Change the workgroup attribute to what is appropriate for the network, and change security to share:

workgroup = EXAMPLE
...
security = user

Dans la section [imprimantes], passez l'option invité ok à oui :

browsable = yes
guest ok = yes

After editing smb.conf, restart Samba:

sudo /etc/init.d/samba restart

The default Samba configuration will automatically share any printers installed. Simply install printers locally on the Windows™ clients.

Ressources

Tester une imprimante

  1. Select Printers from K menuComputerSystem Settings.

  2. Faites un clic droit sur l'imprimante à tester et sélectionnez Tester l'imprimante….

  3. Lorsque la boîte de dialogue d'avertissement s'affichera, cliquez sur le bouton Imprimer une page de test

Partager une Imprimante

  1. Select Printers from K menuComputerSystem Settings.

  2. Surlignez ou sélectionnez l'imprimante à partager.

  3. Once highlighted, go to Print ServerShare Printers on Local Network.

  4. Dans la boîte de dialogue Partager des imprimantes sur le réseau local, cliquez sur le bouton Activer le partage

  5. Lorsque s'ouvre la boîte de dialogue Exécuter en root - KDE su, entrez le bon mot de passe et cliquez sur OK.