Downloaded driver for Canon TR4550 multi-function printer but installation fail because lack of dependencies:
> sudo ./install.sh
[sudo] password for root:
==================================================
Canon Inkjet Printer Driver
Version 5.70
Copyright CANON INC. 2001-2018
==================================================
Command executed = rpm -Uvh ./packages/cnijfilter2-5.70-1.x86_64.rpm
error: Failed dependencies:
libxml2.so.2()(64bit) is needed by cnijfilter2-5.70-1.x86_64
libxml2.so.2(LIBXML2_2.4.30)(64bit) is needed by cnijfilter2-5.70-1.x86_64
libxml2.so.2(LIBXML2_2.6.0)(64bit) is needed by cnijfilter2-5.70-1.x86_64
Searching for libxml2.so.2 in Tumbleweed I installed libxml2-16 but no solution.
Very interesting thread even if not clear to me in all aspects. Anyway trying several times I finally saw “IPP Everithing” and using it printer works in wifi.
I can control all printer feature (black/colors, double side printing, print test page) and even get ink level in cartridges. And I learn that many modern printers can be used “driverless”. Very good news for Linux users.
I’ve few question left:
YaST has no more “printer manager” or at least not in my pc.
I used “System setting” but it seems not finding printer connected in wifi. YaST did it if remember well.
Not clear what ... make sure that the openSUSE firewall allows mdns first (for Avahi discovery to work).means. In Firewall manager I don’t find a setting for this.
If you prefer a graphical utility, Firewalld does provide one called firewall-config, and can be installed with sudo zypper in firewall-config. (YaST and Cockpit also provide basic graphical firewall configuration capabilities.)
@Giorgio_os If you want a gui you can use the system-config-printer.
It is in the repo
One more thing with the libxml.so. A shot in the dark but might work by linking the latest libxml.so to the libxml.so that the canon installer is looking. Try it if it work lucky you if not let’s just charge it to experience
Unfortunately, the Canon driver won’t work, as explained in the previous topic that hui already linked to. However, if the OP can resolve the firewall issue, driverless printing is the modern approach here.
Sorry for delay in answer, I haven’t TR4550 in my house so I can’t try to follow all suggestions. This is what I tried:
Installed and used, not so different from “systemsetting”. Ans to find a network printer it need IP address. If I remember well old YaST found all network printer s without knowing IP in advance.
I don’t know how to link but I read somewhere (may be in link posted by Hui) that it don’t works.
More important: installed printer using usb connection and “IPP Everywhere” as driver it don’t works. I tried several other driver no way. Any suggestion ?
Your post is a bit confusing. If you want to use network connectivity, CUPS should discover a driverless (IPP Everywhere) printer automatically, provided the printer advertises the service and network discovery is working. You don’t seem to have followed my earlier explanation about ensuring the firewall allows mDNS.
I don’t know whether your printer supports IPP-over-USB. You could check whether ipp-usb is installed and recognises the connected printer…
I’m here again because today I’ve access to printer and associated pc.
I tried already
~> sudo firewall-cmd --list-all-zones
[sudo] password di root:
block
target: %%REJECT%%
ingress-priority: 0
egress-priority: 0
icmp-block-inversion: no
interfaces:
sources:
services:
ports:
protocols:
forward: yes
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
dmz
target: default
ingress-priority: 0
egress-priority: 0
icmp-block-inversion: no
interfaces:
sources:
services: ssh
ports:
protocols:
forward: yes
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
docker (active)
target: ACCEPT
ingress-priority: 0
egress-priority: 0
icmp-block-inversion: no
interfaces: docker0
sources:
services: ipp ipp-client mdns
ports:
protocols:
forward: no
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
drop
target: DROP
ingress-priority: 0
egress-priority: 0
icmp-block-inversion: no
interfaces:
sources:
services:
ports:
protocols:
forward: yes
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
external
target: default
ingress-priority: 0
egress-priority: 0
icmp-block-inversion: no
interfaces:
sources:
services: ssh
ports:
protocols:
forward: yes
masquerade: yes
forward-ports:
source-ports:
icmp-blocks:
rich rules:
home
target: default
ingress-priority: 0
egress-priority: 0
icmp-block-inversion: no
interfaces:
sources:
services: dhcpv6-client mdns samba-client ssh
ports:
protocols:
forward: yes
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
internal
target: default
ingress-priority: 0
egress-priority: 0
icmp-block-inversion: no
interfaces:
sources:
services: dhcpv6-client mdns samba-client ssh
ports:
protocols:
forward: yes
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
nm-shared
target: ACCEPT
ingress-priority: 0
egress-priority: 0
icmp-block-inversion: no
interfaces:
sources:
services: dhcp dns ssh
ports:
protocols: icmp ipv6-icmp
forward: no
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
rule priority="32767" reject
public (default, active)
target: default
ingress-priority: 0
egress-priority: 0
icmp-block-inversion: no
interfaces: wlp3s0
sources:
services: dhcpv6-client
ports:
protocols:
forward: yes
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
trusted
target: ACCEPT
ingress-priority: 0
egress-priority: 0
icmp-block-inversion: no
interfaces:
sources:
services:
ports:
protocols:
forward: yes
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
work
target: default
ingress-priority: 0
egress-priority: 0
icmp-block-inversion: no
interfaces:
sources:
services: dhcpv6-client ssh
ports:
protocols:
forward: yes
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
it seems mdns is active in some services but I didn’t find anything clear to me.
I installed firewall-config and here is a bit more clear: it seems mdns is active in home and docker.
OK I try to be more clear. At present printer is working using wifi connection and “IPP Everywhere” as driver.
Installed ipp-usb (it wasn’t) and printer is recognised
~> sudo ipp-usb check
Configuration files: OK
IPP over USB devices:
Num Device Vndr:Prod Model
1. Bus 001 Device 005 04a9:1854 "Canon TR4500 series"
Tried to install using usb connection and IPP Everywhere and it don’t works.
So if the printer is connected to the network, and IPP Everywhere is working, what else do you need?
You firewall output showed that your wlp3s0 interface is assigned to the public zone…
public (default, active)
target: default
ingress-priority: 0
egress-priority: 0
icmp-block-inversion: no
interfaces: wlp3s0
sources:
services: dhcpv6-client
So discovery of the printer requires mdns to be allowed. You could reassign the wireless network interface to the internal zone where mdns is allowed, or add the service to the public zone and leave the interface assigned in the current zone.
That’s good to know. When you have the printer USB-connected, what does lpstat -e then report? Is the printer listed?
There shouldn’t be anything you need to install manually for the printer itself. With ipp-usb installed and running, the USB-connected printer should be detected automatically by CUPS as an IPP printer.
In any case, why not stay with using it as a network printer?