I am inexperienced in SUSE, having so far used it only for writing and running C programs and nothing else and have now installed the latest version on a brand new desktop.
I am trying to install the above printer over a WIFi (it works fine under Windows (various)).
I have noticed in particular a thread to which deano_ferrari has responded about a Canon MP270. Perhaps you can help me Deano as it seems a similar problem.
I have downloaded the Canon files, extracted them, and then installed them (I believe) by double clicking and following the instructions. Canon PDD files [text] have appeared in root usr share cups model. Should there be any other files and if so where?
I have tried YAST add printer with LPD, the correct IP address, and CUPS + Gutenprint for the MG5200 from the offered drivers. Attempting to print the test page causes the printer to chunter telling me to ‘wait momentarily’ and then just stops!
the cups log refers to an HP laser printer with no mention of Canon at all !!
I tried the Cups route as deano_ferrari sugested to frederick121 in the other thread but was asked for authentication (name and p/w) and didn’t know what to type ie is it my user data, or something new?
{Incidentally I tried moving the canon PDD files into the Manufacturers data folder in a new folder called Canon, but I couldn’t create a new folder (it was greyed out) presumably because I was not logged in as Admin, and I can’t find out how to do this. Would it have helped?}
Take care, there are more possibilities in the world then you might think of. Thus saying “the latest version” of “SUSE” is not very precise.
First there are SUSE Linux Enterprise (short: SUSE or: SLED/SLES) on one side and openSUSE on the other. These forums are about openSUSE, but often people make a mistake and ask SLES/SLED questions here. Thus it is better to use the correct wording.
Second, “latest” gives only a valid interpretation as long as there is no newer one, which we expect to come for sure. And after that, this thread can lead to misunderstandings when people in the future will read it (e.g. becaue they found it using Google in 2014). Also, while main stream openSUSE may have a “latest version” (whatever that may be at the moment we write this). there are people who may assume you mean the lastest milestone version of the version to come. Or some updated with stable or factory repos, or a Tumbleweed.
To avoid misunderstandings please allways try to be as precise as possible and take the trouble to type “12.1” or what you have. It is even fewer characters then “latest version”.
Also I get the impression that you use a GUI on the system (though I may e wrong). In the case you use a GUI, it is allways better to tell which desktop environment you use (KDE, Gnome, …).
Also other things you write seem to be a bit malformed. I tried to understand “PDD files [text] have appeared in root usr share cups model.” After much (re)thinking, I assume that possibly you mean a path to a directory where the / characters are missing, but then again, what is the word “root” meaning there?
Now it may be that some here do understand what you mean, but in general computer problems are not solved by being careless with spelling, white space, etc.
Yes I did mean to show the directory path ‘root/usr/share/cups/model’. It was displayed in the GUI as root > usr > etc which I knew was wrong but couldn’t remember whether it should be / or \ (!!) I assumed (wrongly) that it might be recognised easily as a path. (as my physics teacher used to say “Hell hath no fury like an unjustified assumption!”)
The text ‘root’ is tied to the red folder icon shown down the left hand side of a Dolphin page/window (whatever the correct term for that is) and I then chased down from clicking on that through the folders to find files called “canonmg5200.pdd”, “pxicolor.pdd”, and “pximono.pdd”, the icon for which is a page with the bottom right hand corner bent up and the letters ‘txt’ on it. I believe that ‘pdd’ holds printer description data.
What I didn’t say was that in order to get the packages to install (if indeed they have been installed properly) I had to remove Apper, which kept crashing. I found the advice to do this on other threads.
I hope that removes all ambiguities and confusion, so that my problem may be addressed.
I bet it is not root/usr/share/cups/model because that would be relative to the place you are and I assume you mean an absolute place in the directory tree. But when it is /root/usr/share/cups/model, it would be in root’s home directory, which I think is not the correct place for something liike that. Thus it most possibly is /usr/share/cups/model.
Also, as you said you write and run C programs, I got the impression of somebody who uses the CLI and knows about the directory three and how to express things in it.
I tried the Cups route as deano_ferrari sugested to frederick121 in the other thread but was asked for authentication (name and p/w) and didn’t know what to type ie is it my user data, or something new?
You need your root credentials: ‘root’ for user and the root password.
Thanks,
I tried that; I used the Network Name that showed up when I looked at the printer data via its IP address; I browsed for the ppd file, and it installed an HP driver. This is what the CUPS log said when I tried to install via Yast.
How can I tell if the Canon drivers are on my computer? How can I point CUPS or Yast at them?
I have downloaded the Canon files, extracted them, and then installed them (I believe) by double clicking and following the instructions. Canon PDD files [text] have appeared in root usr share cups model. Should there be any other files and if so where?
Lets start from the top. I don’t own a Canon printer, and don’t know if the drivers work. What I do know is the process to install them, and how configure with CUPS. Canon network printers may be more complicated. Some models need to use an additional ‘bjnp’ backend. However, I’m not sure if this model that is one of them. (I’ll expand on that later)
Are you trying to connect via the wireless interface?
Have you tried connecting as a local printer via USB connectivity?
I’ve downloaded the required drivers previously (in an effort to help others).
The Canon site has the Linux drivers (as a downloadable tarball): MG5200series-printer_driver.tar
The tarball contains three files. The one you want is: cnijfilter-mg5200series-3.40-1-rpm.tar.gz
You’ll need to extract the RPM’s contained within:cnijfilter-common-3.40-1 and cnijfilter-mg5200series-3.40-1 (Install the 32-bit or 64-bit RPMs suitable for your system).
When I use the CUPS web interface, I can select ‘Add Printer’ and ‘pretend’ to configure a remote printer (using socket://test), and work my way through to the model selection. Under Canon, amongst the models available is the ‘Canon MG5200 Series Ver 3.40 (en)’. That’s as far as I can go without having the actual printer of course.
On Linux, older PIXMA models offering network connexion were only able to print, under the JetDirect protocol, using the well known port 9100.
Scanning over the network without a Windows or Mac box was unfortunately not possible, because involving a Canon proprietary protocol, named BJNP, coming with absolutely no information or documentation, and thus very difficult to approach.
Recent PIXMA models offering network connexion have been “enhanced” by Canon, in the way they now accept … only the BJNP protocol for printing and scanning!
Bye bye JetDirect, welcome to Canon’s world!
The cups-bjnp-1.0-1.el6.x86_64 RPM is available from here:
It is for RH EL 6, but it’s a simple package and will install without problems on recent openSUSE dsitros. It provides /usr/lib/cups/backend/bjnp, which when configuring via CUPS, means that along with the choice of various local and network interfaces, the ‘Canon network printer’ interface is available. If it is selected, it is then used like this
CUPS says it can see an HP Printer and an HPFAX as local, I get the same result after installing the Backend you suggested (no reason to expect a change).
However:- SUSE is not very happy on my machine, it freezes or it shows little error messages about things being unexpected, or opening root as read only - so I’m going to do a disc scan, and then may reload;
the computer came naked and I am dual installing win7 and SUSE and have no data or programs on board.
I admit that it is a bit frustrating when openSUSE doees not do what you expect. But when you want us to help you, you definitely must be more precise and explaining. E.g. when you say:
or opening root as read only -
my imagination about what this realy means fails completely. Explain step by step what you do, what you expect to happen and what happens instead.
When this is in a GUI it it requires a lot of typing and/or uploading of screenshots (that is why we prefer things reported in the CLI, because you then simply copy/past a session to the post and not much further explanation is needed), but skipping things leads witthout doubt to misinterpretation and chaos.
CUPS says it can see an HP Printer and an HPFAX as local, I get the same result after installing the Backend you suggested (no reason to expect a change).
Installing the backend (which I’m not sure if is required for that model anyway) is not to assist with auto-detection, it’s just to provide the BNJP protocol required for some Canon printers/scanners, when network connected. It is irrelevant when using USB connectivity.
Did you try to manually configure (rather than rely on auto-detection)? CUPS web interface > ‘Add Printer’ >…
However:- SUSE is not very happy on my machine, it freezes or it shows little error messages about things being unexpected, or opening root as read only - so I’m going to do a disc scan, and then may reload;
That is cause for concern. Re-installation might be the best option.
Right,
With printer connected to USB, I deleted the HP package as discovered in YaST. This enabled the printer to be recognised correctly, and enabled a page to be printed.
Via WiFi CUPS wanted a connection and I had guessed lpd://CanonMG5250/ipp/ Printing a test page via Yast did not even wake up the printer so in Yast I edited the connection to include the IP address, and lo it worked :-))
Thanks for your help.
PS I intend doing some more checks on the SUSE installation (64 bit BTW). I had tried to run ‘fsck’ but one of the messages that flashed by on reboot looked like ‘fsck failed’, but it had gone before I could read more.
Right,
With printer connected to USB, I deleted the HP package as discovered in YaST. This enabled the printer to be recognised correctly, and enabled a page to be printed.
Via WiFi CUPS wanted a connection and I had guessed lpd://CanonMG5250/ipp/ Printing a test page via Yast did not even wake up the printer so in Yast I edited the connection to include the IP address, and lo it worked :-))
Thanks for your help.
Great. Your perseverance paid off.
BTW, It is also good to know that this printer (when network connected via wifi), does not require the proprietary BJNP protocol to communicate.
PS I intend doing some more checks on the SUSE installation (64 bit BTW). I had tried to run ‘fsck’ but one of the messages that flashed by on reboot looked like ‘fsck failed’, but it had gone before I could read more.
I recommend starting a new thread on this, if you’d like some guidance. In general, fsck repairs are best done on unmounted filesystems eg via use of a Live distro. Back up any important data you have before you proceed.