milllion dollar question- How to install my canon ip1300 printer in linux ?
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
View Poll Results: Does your printer works properly with Linux?
Drivers/firmware are ether part of, or a module attached to, the kernel. If you are using the same distro with the same kernel as the person next to you and their printer works but yours doesn't (assuming they are the exact same printer) then you have a configuration problem or a badly installed driver/firmware. Most distros do have their own variation of the kernel but it isn't difficult to update to a newer kernel with everything if you need to.
I'm not sure I understand all this driver story correctly, but what I was talking about is a CUPS driver. A binary that lets CUPS send some printing jobs to a printer. Does these CUPS modules have something to do with Linux itself (the kernel)?
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
Rep:
Quote:
Originally Posted by v_2e
I'm not sure I understand all this driver story correctly, but what I was talking about is a CUPS driver. A binary that lets CUPS send some printing jobs to a printer. Does these CUPS modules have something to do with Linux itself (the kernel)?
The easiest basic way for me to explain it, only because I'm not really good with kernel speak, is that the kernel is what detects hardware, Cups facilitates driver installation and controls the printer.
Somewhere, I think, there is a problem due to faulty installation.
The easiest basic way for me to explain it, only because I'm not really good with kernel speak, is that the kernel is what detects hardware, Cups facilitates driver installation and controls the printer.
Somewhere, I think, there is a problem due to faulty installation.
Well, speaking in these terms, I'd say that the kernel detects the printer correctly (as a USB device), CUPS even shows its state (whether the printer is ready or not - but maybe wrong). It just does not print. And not only on my PC, but many GGL users complain about it as well. So it is unlikely to be because of the broken install or something like that, I think.
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
Rep:
Quote:
Originally Posted by v_2e
Well, speaking in these terms, I'd say that the kernel detects the printer correctly (as a USB device), CUPS even shows its state (whether the printer is ready or not - but maybe wrong). It just does not print. And not only on my PC, but many GGL users complain about it as well. So it is unlikely to be because of the broken install or something like that, I think.
Well if it works on many distros, assuming the kernel is the same and the version of cups is the same, the issue is most likely GGL's setup. Something within that OS is stopping the proper functioning of the printer.
Well if it works on many distros, assuming the kernel is the same and the version of cups is the same, the issue is most likely GGL's setup. Something within that OS is stopping the proper functioning of the printer.
Yes. I think it maybe because of the 64-bit/32-bit incompatibility. I have the x86_64 system, and I believe, Canon's printer driver is compiled for 32-bit system. There are compatibility libraries in Gentoo for such cases, but maybe some library needed for this driver functioning is missing - who knows.
Still it is interesting whether we have some centralized resource for "Printers on GNU/Linux" kind of knowledge (like I mentioned above)? Do you know such resource?
Thanks.
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
Rep:
Quote:
Originally Posted by v_2e
Yes. I think it maybe because of the 64-bit/32-bit incompatibility. I have the x86_64 system, and I believe, Canon's printer driver is compiled for 32-bit system. There are compatibility libraries in Gentoo for such cases, but maybe some library needed for this driver functioning is missing - who knows.
Still it is interesting whether we have some centralized resource for "Printers on GNU/Linux" kind of knowledge (like I mentioned above)? Do you know such resource?
Thanks.
No I don't know of such a resources sorry.
This is a long shot but do you have ia32-libs installed? If not try it and see if things work then.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
That one is on part on me . I got a reply (long, long ago) for a similar question with the assertion that hplip could help even with non hp printers. I do have to admit though, that I mixed up with information from the other parts of the thread and thus omitted your part with the canon printer. That's the part where I went astray, my sincere apologies.
That one is on part on me . I got a reply (long, long ago) for a similar question with the assertion that hplip could help even with non hp printers. I do have to admit though, that I mixed up with information from the other parts of the thread and thus omitted your part with the canon printer. That's the part where I went astray, my sincere apologies.
I find this thread very confusing and intimidating myself...so, no need for apologies...
I don't have the printer myself, but some googling indicates the iP1300 might work in Linux using the drivers Canon has released for iP2200.
If you download the version 2.60 revision 3 driver package, it contains another archive, iP2200_Linux_260.tar.gz, which contains three binary RPM drivers (cnijfilter-common-2.60-1.i386.rpm, cnijfilter-ip2200-2.60-1.i386.rpm, cnijfilter-ip2200-lprng-2.60-1.i386.rpm) and a source package (cnijfilter-common-2.60-1.src.rpm).
The packages contain no magic (other than running /sbin/ldconfig after installing new libraries, which one should always do anyway to let the linker update its caches). This means you can just extract or copy the files:
are dynamically linked libraries. They require only the basic 32-bit libraries:
Code:
libc.so.6 for example /lib/i386-linux-gnu/libc.so.6
libdl.so.2 for example /lib/i386-linux-gnu/libdl.so.2
libpthread.so.0 for example /lib/i386-linux-gnu/libpthread.so.0
I suspect that on a print server without a GUI, the libgdk-1.2.so.0 libglib-1.2.so.0 libgmodule-1.2.so.0 libgtk-1.2.so.0 libX11.so.6 libXau.so.6 libxcb.so.1 libXdmcp.so.6 libXext.so.6 libXi.so.6 libxml.so.1 32-bit libraries are not needed, but I'm not absolutely positive.
Remember: these must all be 32-bit. If you are running a 64-bit distribution, you need to install the necessary 32-bit compatibility packages, the 64-bit normal libraries will not suffice.
(If you happen to have a "pure" 64-bit installation, it is possible to install the 32-bit libraries into a special directory (say /usr/local/lib/canon-32bit/) as well as the binaries (the same directory is perfectly okay), and use simple script wrappers in the normal locations to call the actual binaries with proper settings. If anyone needs this, just let me know. This should work on all architectures, BTW.)
So, what does this mean for users who want to try the iP2200 drivers?
If you have a RPM-based distribution, install the three packages. If you use a Debian variant like Ubuntu, you can convert the RPMs to DEB packages using alien, then install them. If you use some other distribution, use rpm2cpio to convert the RPM files to CPIO archives, then extract them locally using rpm2cpio rpm-file-name | cpio -i --make-directories, then copy the files to their proper locations.
Next, run the following commands to see if the 32-bit library dependencies have been fulfilled:
Check if any of the lines contain => not found. If they do, it means you are missing the 32-bit version of that library, and you need to install it to ensure the driver will work.
Best place to find out which package to install is in your package management, or distribution package information, or Google. Just remember that you need the 32-bit version of the library package. Usually, the 32-bit version package will have i386 in the package name; look for that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.