Een printer installeren en configureren

system-config-printer

Introductie

Printen wordt in Mageia beheerd door de CUPS-server. Deze heeft zijn eigen configuratie-interface die toegankelijk is via een internetbrowser, maar Mageia heeft een eigen tool voor het installeren van printers: system-config-printer. Deze tool wordt gedeeld met andere distributies, zoals Fedora, Mandriva, Ubuntu en OpenSUSE.

You should enable the non-free repository before proceeding with the installation, because some drivers may only be available in this way.

Een printer kunt u installeren via de Apparatuur sectie van het Mageia-configuratiecentrum. Selecteer, onder de kop "Configuren van afdrukken en scannen" de tool Printer(s), afdruktaakwachtrijen e.d. instellen[17].

MCC zal voorstellen twee pakketten te installeren:

task-printing-server

task-printing-hp

Het is noodzakelijk dit voorstel te accepteren, om verder te gaan. Tot 230MB aan afhankelijkheden zal worden geïnstalleerd.

To add a printer, choose the "Add" printer button. The system will try to detect any printers and the ports available. The screenshot displays a printer connected to a parallel port. If a printer is detected, such as a printer on a USB port, it will be displayed on the first line. The window will also attempt to configure a network printer.

Automatisch gedectecteerde printer

Dit zijn meestal USB-printers. De tool vindt ook de naam van de printer en laat deze zien. Selecteer de printer en klik dan op "Volgende". Als er een geschikt stuurprogramma (driver) bekend is voor de printer, zal dit automatisch geïnstalleerd worden. Zijn er meerdere geschikte of geen bekende drivers, dan zal u in een nieuw venster gevraagd worden er een te selecteren of op te geven, zoals toegelicht in de volgende paragraaf. Lees hier verder: de paragraaf “Het installatieproces afronden”

Niet automatisch gedetecteerde printer

Als u een poort selecteert, laadt het systeem een lijst met stuurprogramma's en opent het een venster waar u kunt kiezen uit een van de volgende mogelijkheden.

  • Selecteer een printer uit de database

  • PPD-bestand opgeven

  • Zoeken naar een downloadbaar printerstuurprogramma

Om uit de database te kiezen, selecteert u eerst het merk van uw printer, dan het model en daarna het bijbehorende stuurprogramma. Als er meerdere drivers beschikbaar zijn, kies dan die die aanbevolen wordt, tenzij u eerder problemen met dat stuurprogramma ondervond. Kies er in het laatste geval een waarvan u weet dat het werkt.

Het installatieproces afronden

After the driver selection, a window requests some information which will allow the system to designate and discover the printer. The first line is the name under which the device will appear in applications in the list of available printers. The installer then suggests printing a test page. After this step, the printer is added and appears in the list of available printers.

Netwerkprinter

Network printers are printers that are attached directly to a wired or wireless network, that are attached to a printserver or that are attached to another workstation that serves as printserver.

Opmerking

Often, it is better to configure the DHCP server to always associate a fixed IP address with the printer's MAC-address. Of course that should be the same as the IP address the printer of printserver is set to, if it has a fixed one.

The printer's Mac-address is a serial number given to the printer or printserver or computer it is attached to, that can be obtained from a configuration page printed by the printer or which may be written on a label on the printer or printserver. If your shared printer is attached to a Mageia system, you can run ifconfig on it as root to find the MAC-address. It is the sequence of numbers and letters after "HWaddr".

You can add your network printer by choosing the protocol it uses to talk to your computer over the network. If you don't know which protocol to choose, you can try the Network Printer - Find Network Printer option in the Devices menu and give the IP address of the printer in the box on the right, where it says "host".

If the tool recognises your printer or printserver, it will propose a protocol and a queue, but you can choose a more appropriate one from the list below it or give the correct queue name if it isn't in the list.

Look in the documentation that came with your printer or printserver to find which protocol(s) it supports and for possible specific queue names.

Network printing protocols

One current technique is one developed by Hewlett-Packard and known as JetDirect. It allows access to a printer directly connected to the network via an Ethernet port. You must know the IP-address at which the printer is known on the network. This technique is also used inside some ADSL-routers which contain an USB port to connect the printer. In this case, the IP-address is that of the router. Note that the tool "Hp Device manager" can manage dynamically configured IP-adress, setting an URI like hp:/net/<name-of-the-printer> . In this case, fixed IP-adress is not required.

Choose the option AppSocket/HP JetDirect as the protocol and set the address in Host:, do not change the Port Number, unless you know that it needs to be changed. After the selection of the protocol, the selection of the driver is the same as above.

The other protocols are:

  • Internet Printing Protocol (ipp): a printer which can be accessed on a TCP/IP network via the IPP protocol, for example a printer connected to a station using CUPS. This protocol may also be used also by some ADSL-routers.

  • Internet Printing Protocol (https): the same as ipp, but using http transport and with TLS secured protocol. The port has to be defined. By default, the port 631 is used.

  • Internet Printing Protocol (ipps): the same as ipp, but with TLS secured protocol.

  • LPD/LPR host or Printer: a printer which can be accessed on a TCP/IP network via the LPD protocol, for example a printer connected to a station using LPD.

  • Windows printer via SAMBA: a printer connected to a station running Windows or a SMB server and shared.

The URI can also be added directly. Here are some examples on how to form the URI:

  • Appsocket

    socket://ip-address-or-hostname:port

  • Internet Printing Protocol (IPP)

    ipp://ip-address-or-hostname:port-number/resource

    http://ip-address-or-hostname:port-number/resource

  • Line Printer Daemon (LPD) Protocol

    lpd://username@ip-address-or-hostname/queue

Additional information can be found in the CUPS documentation.

Apparaateigenschappen

You can access the properties of the device. The menu allows access to parameters for the CUPS server. By default a CUPS server is launched on your system, but you can specify a different one with the Server | Connect... menu, another window which gives access to the tuning of other specific parameters of the server, following Server | Settings.

Troubleshoot

You can find some information on occurring errors during printing by inspecting /var/log/cups/error_log

You can also access to a tool to diagnose problems using the Help | Troubleshoot menu.

Specifics

It is possible that some drivers for specific printers are not available in Mageia or are not functional. In this case, have a look at the openprinting site to check if a driver for your device is available. If yes, check if the package is already present in Mageia and in this case install it manually. Then, redo the installation process to configure the printer. In all cases, report the problem in bugzilla or on the forum if you are comfortable with this tool and furnish the model and driver information and whether the printer works or not after installation. Here are some sources to find other up-to-date drivers or for more recent devices.

Brother printers

This page give a list of drivers provided by Brother. Search the driver for your device, download the rpm(s) and install.

You should install Brother drivers before running the configuration utility.

Hewlett-Packard printers and All in one devices

These devices use the hplip tool. It is installed automatically after the detection or the selection of the printer. You can find other information here. The tool "HP Device Manager" is available in the System menu. Also view configuration for the management of the printer.

A HP All in one device must be installed as a printer and the scanner features will be added. Note that sometimes, the Xsane interface doesn't allow to scan films or slides (the lighting slid can't operate). In this case, it is possible to scan, using the standalone mode, and save the picture on a memory card or USB stick inserted in the device. Afterwards, open your favourite imaging software and load your picture from the memory card which is appeared in the /media folder.

Samsung kleurenprinter

For specific Samsung and Xerox colour printers, this site provides drivers for the QPDL protocol.

Epson printers en scanners

Drivers for Epson printers are available from this search page. For the scanner part, you must install the "iscan-data" package first, then "iscan" (in this order). A iscan-plugin package can also be available and is to install. Choose the rpm packages according to your architecture.

It is possible that the iscan package will generate a warning about a conflict with sane. Users have reported that this warning can be ignored.

Canon printers

For Canon printers, it may be advisable to install a tool named turboprint available here .



[17] U kunt deze tool op de commandoregel starten, door als root system-config-printer te typen.


CC BY-SA 3.0
Uploaded on 02/10/2016
loading table of contents...