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:
- If the device has printing functionality, remove any existing printers installed for the device in the past.
To search for printer name, run:
# lpstat -aRemove the printer:
# lpadmin -x <printer_name>If the device has scanning functionality, disable the
SANEbackend 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.confor in a specific file in directory/etc/sane.d/dll.d, or uninstall the scanning driver. For example, to disablehpaioscanning 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/hpaioAs 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-usbconfiguration.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"Create a quirk for
ipp-usband use the name in the new quirk file in the/etc/ipp-usb/quirksdirectory. Note that the.confsuffix is required.# cat /etc/ipp-usb/quirks/canon.conf [Canon MF440 Series] blacklist = trueRestart the
ipp-usbservice:$ systemctl restart ipp-usbThis quirk denies device’s support in
ipp-usb, and classic drivers will work. The printer generated byipp-usbis 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.