How do I find the IP address of a shared network printer?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
How do I find the IP address of a shared network printer?
Hi,
I'm using ubuntu 9.10 on HP pavillion dv6 laptop, and I'm trying to install printer drivers for a Canon MF4150 printer on my home network. I went to the Canon website and found the linux drivers bundled in a zip file, which I opened. I found the instructions and opened the deb package with debian package manger, installed the common module for cups drivers, installed the printer driver module, restarted cups, but to register the printer (PPD)with the print spooler, I need to know the IP address of the network printer.
If you are using DHCP in your router to assign IP addresses, the router can probably tell you. There is generally a web-based tool for router configuration and normally it can show you a list of all assigned IP addresses and associated MAC addresses.
Are you sure it's a Canon MF4150? The Advanced User Guide does not mention network connectivity. Some printers have an LCD and menus which provide a way of setting (and viewing) the IP address. Others are http-enabled. If it is the latter it may be possible to reset it to a default address and thus to reset it to a known address.
It is the MF4150, which is directly connected, via USB, to a desktop computer in my home network. I can see the printer when searching the network for printers, in the ADMINISTRATINO>PRINTERS menu. I was able to install this printer on the same network in the past on a different laptop running ubuntu 8.04, but can't seem to make it work this time. Of note, I am running 64 bit os, and the canon website didn't have 64bit drivers for deb based system, but did for rpm so I used Alien to convert the rpm package to deb package. I found the ppd file for the printer in the /usr/share/cups/model folder, and tried to install with the "add new printer" option from the menu, and it appears to install ok, but nothing happens when I try to print something.
So, I followed the directions that came with the drivers from Canon, and tried to install it manually in terminal. I was able to install the common cups module, and the driver module, restart the cups, but the instructions give a command to register the printer with the spooler, which requires that I know the IP address of the printer.
I kind of agree. If it is your home you would know the IP address if you connected it to your home lan. It suggests that you are trying to access a printer that is connected to a windows computer.
If it is connected to your home lan only by a network cable to your switch/hub/router and you never changed it then it should be the factory default still.
OK, I installed Samba, then tried to reinstall the common cups module, then the device driver modules, then used the 'printer configuration' function from 'administration>printing' menu. I am able to browse and find the network printer via samba, and give it the ppd file that goes with the MF4100 series printer, but a window pops up stating "Printer 'Canon-MF4100' requires the 'pstoufr2cpca' program but it is not currently installed. Please install it before using this printer".
Also, when I try to send a test page to the printer, a message pops up stating that 'Printing Error -- there was a problem printing document 'test page', stopping job because the scheduler could not execute a filter'.
I tried to find a program 'pstoufr2cpca' with Synaptic Installer, and with 'Ubuntu Software Center', but nothing. Then I searched for a file on my system by that name, found the file in /usr/lib/cups/filter folder, and when I looked at the properties of that file, it shows the 'type: link (broken) (inode/symlink), and the Link target: ../../../lib64/cups/filter/pstoufr2cpca.
So, how do I get this file back, reinstall, fix the link, or whatever?
I know this same printer, on a Windows XP desktop, was installed with drivers obtained at the same place on my old laptop running ubuntu 8.04. Maybe there is something about the 64bit os that this isn't supported?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.