Este conteúdo não está disponível no idioma selecionado.

Chapter 6. Driverless USB printing and scanning


Driverless printing and scanning has variants for USB-connected devices, covered by the IPP over USB standard. Install the ipp-usb package for it to work. This package registers the device with Avahi on the local host and makes the USB device look like a network device.

6.1. Installing and checking device capabilities

In driverless printing, installing a device involves identifying this device on your network and using a print server to set up a print queue. You can then verify the device’s capabilities by accessing its settings within the print queue or using a tool such as ipptool.

Prerequisites

  • You update the device firmware.
  • You stopped and disabled the cups-browsed service if it is not used for installing printers from remote print servers. Note that in this case, the BrowsePoll server is used in the /etc/cups/cups-browsed.conf file.

Procedure

  1. Install the ipp-usb package:

    # dnf install ipp-usb
    Note

    The ipp-usb package is installed by default with CUPS and sane-airscane packages.

  2. Check if device has printing functionality:

    1. Verify that the device is recognized by ipp-usb:

      # sudo ipp-usb check
    2. Check if the device is identified by CUPS among existing destinations. The service name created by ipp-usb has the suffix _USB.

      $ lpstat -e
      Canon_MF440_Series_USB

      The service name created by ipp-usb has the _USB suffix. For example, here Canon_MF440_Series_USB represents IPP-over-USB device called Canon I-Sensys MF433

      Important

      If the Canon_MF440_Series_USB is displayed in the output of the lpstat -e command, but not in your application, report the issue to the application.

    3. Check device capabilities:

      # ipptool -tv ipp://localhost:60000/ipp/print get-printer-attributes.test
      # lpoptions -p Canon_MF440_Series_USB -l

      The ipptool command returns all IPP attributes which the device supports. If your printing option is present in IPP response, but not in lpoptions output, then it is a CUPS issue because the common PPD options are generated from some of the attributes. The lpoptions utility returns available PPD options.

  3. Check if the device has scanning capabilities:

    1. Check if the sane-airscan backend recognizes your device:

      # scanimage -L
      device `airscan:e0:HP LaserJet MFP M130fw' is a eSCL HP LaserJet MFP M130fw ip=127.0.0.1
      Here, the HP LaserJet MFP M130fw device here is used for illustration, it does not show its real IPP-over-USB compatibility or its real options shared via AirScan from ipp-usb.
    2. Check the device capabilities:

      # scanimage --help -d 'airscan:e0:HP LaserJet MFP M130fw (E700D6)'

6.2. Migrating existing classic print queues and scanner devices

The ipp-usb package is incompatible with classic printing and scanning drivers for IPP-over-USB devices. Therefore, you must decide which method you want to use: driverless or classic drivers.

Procedure

  • Use one of the following options:

    • Use driverless to support the USB device.

      To migrate the existing configuration with classic drivers to driverless support for USB device, follow the below mentioned steps depending on the device capabilities:

      1. If the device has printing functionality, remove any existing printers installed for the device in the past.
      2. To search for printer name, run:

        # lpstat -a
      3. Remove the printer:

        # lpadmin -x <printer_name>
      4. If the device has scanning functionality, disable the SANE backend which provides the scanning support, for example, hpaio. You can achieve it by commenting out its name in the /etc/sane.d/dll.conf file or in a specific file in the /etc/sane.d/dll.d/ directory, or uninstall the scanning driver. For example, to disable the hpaio scanning backend:

        1. List the available scanners:

          # scanimage -L
          device `hpaio:/usb/laserjet_mfp_m129-m134?serial=XXXX' is a Hewlett-Packard laserjet_mfp_m129-m134 all-in-one
          device `airscan:e0:HP LaserJet MFP M130fw (E700D6)' is a eSCL HP LaserJet MFP M130fw (E700D6) ip=127.0.0.1
        2. Comment out the hpaio line in the /etc/sane.d/dll.d/hpaio file:

          #hpaio

          As a result, scanning devices supported by the backend HPAIO are not visible in the list of scanners.

    • Use a classic driver to support the device.

      Choosing a classic driver requires rejecting the printer model in the ipp-usb configuration.

      1. Search for device model name:

        # sudo ipp-usb check
        Configuration files: OK
        IPP over USB devices:
         Num  Device              Vndr:Prod  Model
           1. Bus 001 Device 005  04a9:2823  "Canon MF440 Series"
      2. Create a quirk for ipp-usb and use the name in the new quirk file in the /etc/ipp-usb/quirks directory. Note that the .conf suffix is required.

        # cat /etc/ipp-usb/quirks/canon.conf
        [Canon MF440 Series]
        blacklist = true
      3. Restart the ipp-usb service:

        $ systemctl restart ipp-usb

        This quirk denies device’s support in ipp-usb, and classic drivers will work. The printer generated by ipp-usb is removed from the list of existing printers.

        Note

        You can opt-out from driverless USB support by removing the ipp-usb package and excluding it from DNF operations.

Red Hat logoGithubredditYoutubeTwitter

Aprender

Experimente, compre e venda

Comunidades

Sobre a documentação da Red Hat

Ajudamos os usuários da Red Hat a inovar e atingir seus objetivos com nossos produtos e serviços com conteúdo em que podem confiar. Explore nossas atualizações recentes.

Tornando o open source mais inclusivo

A Red Hat está comprometida em substituir a linguagem problemática em nosso código, documentação e propriedades da web. Para mais detalhes veja o Blog da Red Hat.

Sobre a Red Hat

Fornecemos soluções robustas que facilitam o trabalho das empresas em plataformas e ambientes, desde o data center principal até a borda da rede.

Theme

© 2026 Red Hat
Voltar ao topo