LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I find the IP address of a shared network printer? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-find-the-ip-address-of-a-shared-network-printer-786566/)

bacuser 02-02-2010 09:54 PM

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.

Thanks for any help.
Brent

routers 02-02-2010 10:16 PM

maybe you can use arp-scan command

this way :-

arp-scan --interface=eth0 --localnet

pentode 02-02-2010 11:26 PM

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.

jschiwal 02-03-2010 03:10 AM

There is also nmap.
example:
nmap -sP 192.168.1.100-110

It probably has an IP number one more than the last computer.

catkin 02-03-2010 03:42 AM

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.

bacuser 02-04-2010 01:38 PM

canon printer install
 
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.

Still trying,
Brent

++nick++ 02-04-2010 03:33 PM

Hello bacuser,

If the printer is connected to a windows computer , you need samba packages setup ,

check out ,
http://www.linuxquestions.org/questi...ubuntu-644837/

jefro 02-04-2010 03:45 PM

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.

bacuser 02-04-2010 09:17 PM

Plot thickens
 
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?

Thanks for all the effort to help me.
Brent

ehdwuld 05-22-2010 03:41 PM

just a thought
I just, five minutes ago, printed the first test page from my Suse 11.1 box to my winXP shared Canon MF3110


by following what was listed on this page
http://www.scribd.com/doc/6967253/Ca...rinter-support

and translating some of it to Suse

it left out the turning on of RedMon

heres how
extract the RedMon zip
browse to
clik setup
yes you want to install
clik RedMon extended edition
in top toolbar <options>
start RPC server

then when you get to the part about configuring redirected port it will let you configure it

if you have already completed your task then please ignore this post


All times are GMT -5. The time now is 12:11 AM.