View previous topic :: View next topic |
Author |
Message |
cumber n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/9083059074b96dfffce61d.jpg)
Joined: 08 Oct 2007 Posts: 26 Location: Melbourne, Australia
|
Posted: Thu Feb 26, 2009 11:33 pm Post subject: HOWTO: Canon MX700 over network on amd64 |
|
|
I just managed to get my networked Canon MX700 setup and printing on my amd64 Gentoo install, and as I had to do quite a bit of googling and reading to do it, I thought I'd write the steps I used down here. Hopefully if I've made a mistake in this writeup or got things working by accident due to the sequence of missteps I made, we can find that out and correct this.
Before setting this printer up on my Gentoo machine I had already set it up on a windows XP machine, following the instructions that came with the printer for setting it up for network use for the first time. I don't know whether or not this procedure would work if you haven't already done that.
EDIT 10th March 2010: I've just set this up again on another amd64 Gentoo box, and the situation has changed somewhat. Mainly in that there are overlays that provide most of the ebuilds we need, which simplifies the process a bit. Unfortunately the one ebuild that we still need to get from a bug report needs some tweaking before it will work. I've updated the instructions to reflect the process that worked for me at the time of writing.[/b]
- Install the dev-zero and calculate overlays, using layman.
- Add net-print/cups-bjnp and app-emulation/emul-linux-x86-bjdeps to your package.keywords.
- Make an overlay directory for net-print/cnijfilter. Download the ebuild described here (note that this bug is cnijfilter-2.80, there are ebuilds for several other versions in the gentoo bugzilla, but it seems that the version numbers come from Canon and do not indicate "improvements" as they get higher, they support entirely different sets of printers). There are a couple of changes you'll need to make before you can use it though. The download links listed in the ebuild don't work; you'll need to replace them with the link mentioned in the comments on the same bug page. You'll also need to replace the dependency on virtual/ghostscript with app-text/ghostscript-gpl. It seems there's no longer a ghostscript-gnu, so there's no virtual to depend on either of the two anymore. Digest the ebuild, and add it to your package.keywords. Also add the use flag mp520 to your package.use for cnijfilter. This makes cnijfilter support a different printer, which seems to work for the MX700 anyway. Note that on amd64 you can't use the servicetools use flag, as the tools this provides need extra x86 compatibility libs that aren't available at the moment (as far as I could find).
- emerge -av cnijfilter cups-bjnp
- Get a PPD file for the Canon MX700. I found it in this post on the Ubuntu forums. Save it somewhere (remove the .txt extension).
- Restart (or start) cups. Open a web-browser and go to localhost:631. On the Administration tab, hit "Find New Printers". Your printer should be detected. Click "Add This Printer". Change the labels as you want, then hit continue. Use the "Or Provide a PPD File" option at the next screen and select the PPD file downloaded in step 7. Hit "Add Printer".
I haven't tested, but a simpler version of the above should work for x86. You wouldn't need app-emulation/emul-linux-x86-bjdeps, and I believe therefore wouldn't need the calculate overlay either.
I should also add that I found it useful (at some point after writing the initial version of this howto) to make sure my printer was assigned a fixed IP address by the local router. Unfortunately this was so long ago that I can't remember if that step was necessary or just convenient.
Your printer should now be working. Hope this helps people.
Last edited by cumber on Wed Mar 10, 2010 12:25 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
NeddySeagoon Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/3946266373f47d606a2db3.jpg)
Joined: 05 Jul 2003 Posts: 54871 Location: 56N 3W
|
Posted: Fri Feb 27, 2009 2:41 pm Post subject: |
|
|
Moved from Kernel & Hardware to Documentation, Tips & Tricks.
Its a solution, not a problem _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
thdrcat n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 30 Mar 2004 Posts: 43
|
Posted: Wed Apr 08, 2009 3:26 pm Post subject: |
|
|
worked great, thanks very much for your efforts. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fbonelle n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 Aug 2009 Posts: 2 Location: Grenoble (France)
|
Posted: Sat Aug 22, 2009 7:59 am Post subject: |
|
|
Hi,
Here is the code of an ebuild (cups-bjnp-0.5.4.ebuild) :
Code: | # cups-bjnp-0.5.4.ebuild
inherit toolchain-funcs multilib
DESCRIPTION="CUPS backend for the canon printers using the proprietary USB over IP BJNP protocol."
HOMEPAGE="http://sourceforge.net/projects/cups-bjnp/"
SRC_URI="http://downloads.sourceforge.net/project/${PN}/${PN}/${PV}/${PN}-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc ~sparc ~x86"
IUSE=""
DEPEND="net-print/cups"
RDEPEND="${DEPEND}"
src_install () {
exeinto $(cups-config --serverbin)/backend
doexe ${WORKDIR}/${PN}-${PV}/bjnp
}
|
It works well on my uptodate amd64 gentoo...
Hope it helps (& sorry for my poor English)... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
neepie n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 06 Dec 2009 Posts: 9
|
Posted: Sun Dec 06, 2009 5:58 pm Post subject: works on x86 as well |
|
|
Thanks. This worked for me on a x86.
I just skipped step 5.
And in stead of step 3 I just did a "make install" (as root of course) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cumber n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/9083059074b96dfffce61d.jpg)
Joined: 08 Oct 2007 Posts: 26 Location: Melbourne, Australia
|
Posted: Wed Mar 10, 2010 12:29 am Post subject: |
|
|
I just ran through this process again on a new box, and have updated the original post to reflect the current state of things. There's no longer a need to edit makefiles and manually compile things, and most of the ebuilds are available from overlays, so the whole process is a lot simpler. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|