Dear All,
I bought for my daughter a.m. printer and want install the drivers on notebook with latest manjaro-kde.
The manufacturer offer rpm, deb and ‘source-file’ Canon-PIXMA-TS705_Drivers an there are cnijfilter2 and cnijfilter3 in the version ‘5.80-3’.
I tried to compile the “source-file” but fails.
In the AUR are three packages cnijfilter2-bin 5.10-2, cnijfilter2 6.00-1 and cnijfilter2-common 4.10-3 Note: On my home-net ‘Brother_HL-3152CDW’ can I already print but this notebook reside at another home in which will move as soon the “Canon” drivers are on it.
Questions: 1. Can I install one of the drivers from AUR and which one is the right one? 2. If not, should I convert the rpm or deb to arch-architecture. 3. If I’m forced to use ‘source-file’ could someone tell me how to compile and install successfully?
The drivers available in AUR are - as far as I could see - for different models.
Short of creating or adapting a PKGBUILD for installing this specific driver
I’d use debtap to convert the Debian package to arch.
Seems to work - with a little effort:
The package is a compressed archive
unpack that: tar xzf cnijfilter2-5.80-1-deb.tar.gz
inside the directory which gets created, there is a “packages” directory
inside that there are two versions, presumably for 32 bit vs 64 bit machines cnijfilter2_5.80-1_amd64.deb and cnijfilter2_5.80-1_i386.deb
Now you can run debtap on that cnijfilter2_5.80-1_amd64.deb
… after you installed it from AUR and have run sudo debtap -u to initialize it
The resultant package can then be installed via sudo pacman -U cnijfilter2-5.80-1-x86_64.pkg.tar.zst
I hope it works!
edit:
it seems the automatically generated dependencies are not correct
It want’s to install aarch64-linux-gnu-binutils-2.35.1-1 aarch64-linux-gnu-gcc-10.2.0-1 aarch64-linux-gnu-glibc-2.32-1 aarch64-linux-gnu-linux-api-headers-5.8-1
which seems wrong
… perhaps you can force install it without those? don’t know
re your third question:
that source archive looks too complicated for me - it looks like it is set to be used to build either the debian package or the rpm package
I don’t know how to use that to build the package on Manjaro or Arch without modifications.
By building the packages from ‘source-file’ occur the same error (dependencies), these dependencies (gcc = c++ = compiler) are for ARM-processors (64-bit) and niter for desktop 32-bit nor desktop 64-bit.
ARM-CPU’s are RISK-CPU’s (restricted-instructions…) and used on smart-phones or raspy-similar (one-small-board-computers). That’s worse for Canon.
Seeing this Canon-Video I fear that this printer is only for android and iphone.
This printer is niter supported by Guteprint nor by Foomatic.
That’s mean (most probably) I should try to install the deb on Ubuntu/Kubuntu but… how can I take the driver from buntu and transfer to Manjaro?
Thanks for the link with IPP but… should not be anyway installed a driver?
They say no - if that printer is one that supports that method.
I just read it and thought it could be useful info. That’s all I know.
I never had a network printer.
Why not try? - it seems to be the easiest method.
If it doesn’t work:
Why not try what I suggested - use debtap to convert the debian package you can download from the same website you got the source package from?
I have the package here, extracted it, used debtap to create the Arch/Manjaro package - and could even install it.
I just cannot test whether it works. sudo pacman -Udd cnijfilter2-5.80-1-x86_64.pkg.tar.zst
should install it without the (wrong) dependencies.
Of course you can use your filemanager to do the extracting if you are not comfortable on the command line.
But for the debtap program there is no way around that.
… all the commands are here - just a copy+paste job
That link to the printers website … you linked to the german website.
Sprichst Du deutsch? Deine Info sieht danach aus. Ist vielleicht einfacher.
I installed debtap, on Manjaro initialize with sudo debtap -U on arch initialize with sudo debtap -u and it’s works
It just created a folder with subfolders with a couple of files but nothing else, following these instructions the package is quickly done by using debtap -q <package-name> and this works fine.
Please to all people want use -q, use small q not the capital letter Q, after some edits…
The installation seems to have went ok.
installing it with sudo pacman -Udd cnijfilter2-5.80-1-x86_64.pkg.tar.zst
would have skipped the installation of the wrong dependencies …
I think, the arm-cpu dependencies will be used for network-printing and I suppose this printer has a small risk-cpu on board as well as the fritz.box (or any other modem) and many other connected device (smart-phones, tabletts, etc…)
As soon my daughter come with this printer I will test it.
Can you tell me how to remove such manually installed packages? Maybe I want tray without dependencies.
A big update coming yesterday that want install cnijfilter2 6.00-1.
This one I could install also before converting the deb-package and install canon 5.8.
My question now is: How/where can I see if 6.00 support TS705 ot TS700-Series?
Sorry, but I have no idea what you are asking.
What we have done here was a crude hack to make the printer work.
You could try whether cnijfilter2 6.00-1 now also does the job.
I don’t know.
Manjaro want upgrade from driver ver. 5.8 to ver. 6.0 and I don’t know if the ver. 6.0 (from AUR) support the printer.
If the ver. 6.0 from AUR support the printer, everything is perfect, if not, I have to point it in the /etc/pacman.conf to not be updated anymore.
EDIT:
I searched in the AUR for cnijfilter2 6.00-1 and downloaded the source-code.
Knowing/remembering that most important file for printer are ppd-files… I found ppd-folder for both versions and found:
cnijfilter2 6.00-1 in the AUR is not new - last updated July 23 2000
It’s not the correct driver.
Trying to install it will fail anyway - I just tried.
None of the drivers available in the AUR where the correct drivers for your printer.
That’s why we hacked our own using the file from Canon and then converting it with debtap.
cnijfilter2 5.80
was the result - which you installed
Now we seem to have a naming conflict - since we didn’t bother to adapt the automatic process as long as it resulted in a package that gave you an installable driver.
The version cnijfilter2 5.80 is not from AUR - it’s the one you hacked together.
It can’t be updated via AUR
I’d advise to not update it.
In the future, when it fails, you’ll have to do the manual process all over again.
Till then, don’t touch it.
That is probably correct - I have never had the need to do this so I never tested.
But it seems correct.
If they now have a new version available and you want to have it,
you’d need to get it and repeat the whole manual process to build a package with debtap, then install it.