I've been trying to connect the printer for a couple of weeks now. I need it for my studies and until it works I won't be able to work properly. Therefore, it is advisable to resolve the issue quickly, if possible. I installed the drivers from this sitehttps://driverscollection.com/
But the system gives such an error:
"/usr/lib/cups/filter/rastertoufr2" : No such file or directory.
Please help to solve this problem.Preformatted text
Yes, it is. It's just that I'm doing everything right, it's just that this error knocks everything down. No one wrote about it.
PS Yes, before opening the topic, I did everything as it was written there, I even took the website with drivers from there.
You are right.
If you search the Internet for that missing file you will find that it is a problem discovered and fixed in other distributions, e.g., gentoo and nixos.
The following is very unorthodox, but if you like you can try it. https://bugs.gentoo.org/695896
The gentoo bug report suggests as a workaround to use the binary from the Debian package, but reading the comments they suggest an AUR package that should include that file.
The more correct option would perhaps be to open a bug for the cups package.
I did as you said, and then I got this conclusion. I also tried to run the installation via Octopi, but there the terminal stopped at this output and that's it. The terminal did not say that the installation was completed.
:: Π Π°Π·ΡΠ΅ΡΠ΅Π½ΠΈΠ΅ Π·Π°Π²ΠΈΡΠΈΠΌΠΎΡΡΠ΅ΠΉ...
:: ΠΡΡΡ 2 Π΄ΠΎΡΡΡΠΏΠ½ΡΡ ΠΈΡΡΠΎΡΠ½ΠΈΠΊΠΎΠ²-ΠΏΠΎΡΡΠ°Π²ΡΠΈΠΊΠΎΠ² ΠΏΠ°ΠΊΠ΅ΡΠ° cnrdrvcups-lb:
:: Π Π΅ΠΏΠΎΠ·ΠΈΡΠΎΡΠΈΠΉ AUR:
1) cnrdrvcups-lb 2) cnrdrvcups-lb-bin
ΠΠ²Π΅Π΄ΠΈΡΠ΅ Π½ΠΎΠΌΠ΅Ρ (ΠΏΠΎ ΡΠΌΠΎΠ»ΡΠ°Π½ΠΈΡ = 1): 1
:: ΠΠΎΠΈΡΠΊ ΠΊΠΎΠ½ΡΠ»ΠΈΠΊΡΠΎΠ²...
:: ΠΠΎΠΈΡΠΊ Π²Π½ΡΡΡΠ΅Π½Π½ΠΈΡ ΠΊΠΎΠ½ΡΠ»ΠΈΠΊΡΠΎΠ²...
Π Π΅ΠΏΠΎΠ·ΠΈΡΠΎΡΠΈΠΉ Make (1) jbigkit-2.1-6
Aur (1) cnrdrvcups-lb-5.50-2
:: ΠΡΠΎΠ΄ΠΎΠ»ΠΆΠΈΡΡ ΠΎΠ±Π·ΠΎΡ? [Y/n]: Y
:: Π‘ΠΊΠ°ΡΠΈΠ²Π°ΡΡΡΡ PKGBUILDβΡ...
(1/1) ΡΠΊΠ°ΡΠΈΠ²Π°Π΅ΡΡΡ: cnrdrvcups-lb-5.50-2
/home/nikita/.cache/paru/clone/cnrdrvcups-lb/PKGBUILD
# Maintainer: Chris Severance aur.severach aATt spamgourmet dott c>
# Maintainer: Lone_Wolf <lone_wolf@klaas-de-kat.nl>
# Contributor: Steven She <mintcoffee@gmail.com>
# Contributor: vbPadre <vbPadre@gmail.com>
pkgname='cnrdrvcups-lb'
# The download link changes with every version, try to keep changes>
# https://gdlp01.c-wss.com/gds/8/0100007658/27/linux-UFRII-drv-v550>
_pkgver='5.50'; _dl='8/0100007658/27';_suffix='00'
pkgver="${_pkgver}"
pkgrel='2'
pkgdesc='CUPS Canon UFR II LIPSLX CARPS2 printer driver for LBP iR >
arch=('x86_64')
# Direct links to the download reference go bad on the next version>
url='https://www.canon-europe.com/support/products/imagerunner/imag>
license=('GPL2' 'MIT' 'custom')
# parts of the code are GPL or MIT licensed, some parts have a cust>
makedepends=('jbigkit' 'gzip' 'gtk3')
depends=('gcc-libs' 'libxml2')
optdepends=('libjpeg6-turbo: solves cpu hang on some color imageRUN>
'libjbig-shared: port of debian/fedora speci>
'gtk3: for cnsetuputil2')
conflicts=('cndrvcups-lb' 'cndrvcups-common-lb')
options=('!emptydirs' '!strip' '!libtool')
source=( "http://gdlp01.c-wss.com/gds/${_dl}/linux-UFRII-drv-v${_p>
md5sums=('c5226e974498218bf969ae145f168d81')
sha512sums=('b38ddfc465a3de18ed31b89e5fd28a807ff82586028ce7f5ededbe>
# Canon provides the sourcecode in a tarball within the dowload and>
# In order to keep the $srcdir structure tidy we put the extracted >
# the code itself is spread over many folders.
# "cnrdrvcups-common-${_pkgver}" aka _common_dir & "cnrdrvcups-lb-$>
# are used to keep this manageable
_srcdir="extracted-${pkgname}-${_pkgver}"
_common_dir="cnrdrvcups-common-${_pkgver}"
_driver_dir="cnrdrvcups-lb-${_pkgver}"
prepare() {
# extract sources
mkdir "${_srcdir}"
cd "${_srcdir}"
bsdtar -xf "${srcdir}/linux-UFRII-drv-v${_pkgver//\./}-m17n/Sou>
local _specs=(cnrdrvcups-lb.spec)
# cngplp/autogen.sh fails to find several libraries.
# adding these in the right place of the soon to be generated m>
# so we patch it directly into that autogen.sh
# sed -e '2a export LIBS="-lgtk-x11-2.0 -lgobject-2.0 -lglib>
# the switch to gtk3 appears to have solved this
# the autogen.sh files from canon target an old automake/autoco>
# autoreconf converts them to a form compatible with archlinux >
pushd "${_common_dir}"
for i in "backend" "buftool" "cngplp" "cnjbig" "rasterfilter"
do
pushd "$i"
autoreconf --install --warnings=none
popd
done
popd
pushd "${_driver_dir}"
for i in "cngplp/files" "cngplp" "cpca" "pdftocpca"
do
pushd "$i"
autoreconf --install --warnings=none
popd
done
popd
# allgen.sh where available is not useful for packaging on arch>
# Canon provides methods to build deb & rpm packages.
# The debian rules are not suited for archlinux. When the .spec>
# Chris Severach figured out a way to automate this conversion.
# Generate make from spec %setup, %build
sed -n -e '/^%setup/,/^%install/ p' "${_specs[@]}" | \
grep -v '^%' | \
sed -e '# Convert spec %{VAR} to shell ${VAR}' \
-e 's:%{:${:g' \
-e '# Quote to allow _cflags to have spaces' \
-e 's:${_cflags}:"${_cflags}":g' \
-e '# Some autogen.sh commands in the spec file do not set >
-e 's:^./autogen.sh:& --prefix=${_prefix}:g ' \
> 'make.Arch'
# Generate make install from spec %install
sed -n -e '/^%install/,/^%clean/ p' "${_specs[@]}" | \
grep -v '^%' | \
sed -e '# Convert spec %{VAR} to shell ${VAR}' \
-e 's:%{:${:g' \
-e '# Quote to handle path with spaces' \
-e 's:${RPM_BUILD_ROOT}:"&":g' \
-e '# ln -f hides problems so should be avoided' \
-e 's:ln -sf :ln -s :g' \
> 'make.install.Arch'
}
_setvars() {
# variables used by the (generated) make.Arch & make.install.A>
# relative paths start at ${srcdir}/${_srcdir}
# _libsarch is architecture dependent
_vars=(
_builddir="${srcdir}/${_srcdir}"
common_dir="${_common_dir}"
driver_dir="${_driver_dir}"
utility_dir="cnrdrvcups-utility-${_pkgver}"
RPM_BUILD_DIR="${srcdir}/${_srcdir}"
_prefix='/usr'
_machine_type="MACHINETYPE="$CARCH
_cflags="CFLAGS=""$CFLAGS"
_libdir='/usr/lib'
_bindir='/usr/bin'
locallibs='/usr/lib/'
_includedir='/usr/include'
b_lib_dir="${srcdir}/${_srcdir}/lib"
b_include_dir="${srcdir}/${_srcdir}/include"
_libsarch='libs64/intel'
nobuild=0
)
}
build() {
cd "${_srcdir}"
local _vars; _setvars
# Bash does not recognize var assigments hidden by array expansio>
env "${_vars[@]}" \
sh 'make.Arch'
}
package() {
cd "${_srcdir}"
local _vars; _setvars
env "${_vars[@]}" \
RPM_BUILD_ROOT="${pkgdir}" \
sh 'make.install.Arch'
# licensing information is spread over multiple files and folde>
# while they could be done in a loop iterating through dirs/fil>
# I feel that would obscure what happens and make troubleshooti>
# so each file gets its own install command
pushd "${_common_dir}"
install -Dpm644 "README" "${pkgdir}/usr/share/licenses/${pkgnam>
install -Dpm644 "backend/LICENSE.txt" "${pkgdir}/usr/share/lice>
install -Dpm644 "backend/LICENSE.canon.txt" "${pkgdir}/usr/shar>
install -Dpm644 "backend/README" "${pkgdir}/usr/share/licenses/>
install -Dpm644 "buftool/LICENSE.txt" "${pkgdir}/usr/share/lice>
install -Dpm644 "buftool/README" "${pkgdir}/usr/share/licenses/>
install -Dpm644 "cngplp/LICENSE.canon.txt" "${pkgdir}/usr/share>
install -Dpm644 "cngplp/README" "${pkgdir}/usr/share/licenses/$>
install -Dpm644 "cnjbig/README" "${pkgdir}/usr/share/licenses/$>
install -Dpm644 "rasterfilter/README" "${pkgdir}/usr/share/lice>
popd
pushd "${_driver_dir}"
install -Dpm644 "README" "${pkgdir}/usr/share/licenses/${pkgnam>
install -Dpm644 "cngplp/README" "${pkgdir}/usr/share/licenses/$>
install -Dpm644 "cngplp/files/README" "${pkgdir}/usr/share/lice>
install -Dpm644 "cpca/README" "${pkgdir}/usr/share/licenses/${p>
install -Dpm644 "cpca/cnpklib/LICENSE.canon.txt" "${pkgdir}/usr>
install -Dpm644 "pdftocpca/README" "${pkgdir}/usr/share/license>
popd
# documentation
pushd "$srcdir/linux-UFRII-drv-v${_pkgver//\./}-m17n/Documents"
install -Dpm644 deutsch/"README-ufr2-5.5xDE.html" "${pkgdir}/us>
install -Dpm644 espanol/"README-ufr2-5.5xSP.html" "${pkgdir}/us>
install -Dpm644 francais/"README-ufr2-5.5xFR.html" "${pkgdir}/u>
install -Dpm644 italiano/"README-ufr2-5.5xIT.html" "${pkgdir}/u>
install -Dpm644 korean/"README-ufr2-5.5xKR.html" "${pkgdir}/usr>
install -Dpm644 simplified_chinese/"README-ufr2-5.5xSC.html" "$>
install -Dpm644 traditional_chinese/"README-ufr2-5.5xTC.html" ">
install -Dpm644 uk_eng/"README-ufr2-5.5xUK.html" "${pkgdir}/usr>
install -Dpm644 deutsch/"UsersGuide-ufr2-DE.html" "${pkgdir}/us>
install -Dpm644 espanol/"UsersGuide-ufr2-SP.html" "${pkgdir}/us>
install -Dpm644 francais/"UsersGuide-ufr2-FR.html" "${pkgdir}/u>
install -Dpm644 italiano/"UsersGuide-ufr2-IT.html" "${pkgdir}/u>
install -Dpm644 korean/"UsersGuide-ufr2-KR.html" "${pkgdir}/usr>
install -Dpm644 simplified_chinese/"UsersGuide-ufr2-SC.html" "$>
install -Dpm644 traditional_chinese/"UsersGuide-ufr2-TC.html" ">
install -Dpm644 uk_eng/"UsersGuide-ufr2-UK.html" "${pkgdir}/usr>
install -Dpm644 deutsch/"LICENSE-DE.txt" "${pkgdir}/usr/share/l>
install -Dpm644 espanol/"LICENSE-ES.txt" "${pkgdir}/usr/share/l>
install -Dpm644 francais/"LICENSE-FR.txt" "${pkgdir}/usr/share/>
install -Dpm644 italiano/"LICENSE-IT.txt" "${pkgdir}/usr/share/>
install -Dpm644 korean/"LICENSE-KO.txt" "${pkgdir}/usr/share/li>
install -Dpm644 simplified_chinese/"LICENSE-CN.txt" "${pkgdir}/>
install -Dpm644 traditional_chinese/"LICENSE-TW.txt" "${pkgdir}>
install -Dpm644 uk_eng/"LICENSE-EN.txt" "${pkgdir}/usr/share/li>
popd
}
(END)
Hello, your solution helped, but I got another error (it looks like the printer itself is actively resisting normal operation))). This is the "Filter failed" error, and I see it only in the localhost 631 interface. And in the computer, the program endlessly sends data to the printer. I've been trying to fix it for 40 minutes. I tried reinstalling ghostscript via Octopi, but it didn't help.
Your compy's BIOS is dated 2017. Is there a more current one available? The BIOS (Basic Input/Output System) can have a direct bearing on hardware recognition. That may or may not be a part of the problem(s).
Hmm, the screenshots you chose don't appear to show anything helpful. Certainly the problem you are experiencing is not illustrated.
Try power cycling the printer and rebooting your computer as well. Test again, then make note of any error messages. A screenshot of the error you are seeing might be helpful. Even better, copy and paste to the thread as text if possible.
I restarted the computer and the printer. Then I tried to print a test page (4 times). There is an error on one of the screenshots (where the status message is):Filter file. On another screen, there is just an inscription "Processing - Sending data to the printer." (Written in Russian).
Is the printer connected by USB? If so, it looks like there is another additional package that may need to be installed:
USB over IP (BJNP)
Some Canon printers use Canonβs proprietary USB over IP BJNP protocol to communicate over the network. There is a CUPS backend for this, which is available as cups-bjnpAUR.