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, so a manual intervention depending on user’s choice is required after upgrade. You can see the available printing and scanning capabilities and decide which type of support to use for the device:

  • Driverless
  • Classic drivers

Procedure

Using 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 configuration file /etc/sane.d/dll.conf or in a specific file in directory /etc/sane.d/dll.d, or uninstall the scanning driver. For example, to disable hpaio scanning backend:

    # 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
    
    # sudo sed -i 's,^\s*hpaio$,#hpaio,' /etc/sane.d/dll.d/hpaio

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

Using 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.

注意

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

Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部