LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 08-04-2009, 08:27 AM   #1
wesader
LQ Newbie
 
Registered: Jul 2009
Location: Jefferson City MO
Posts: 5

Rep: Reputation: 0
Linux Printing


How can I determine the IP address assigned to a network printer? When I print to the supposed hostname "saleslaser" it sends the job to another printer "sales2hp3700". I can print to "saleslaser" locally, and through the network using Windows. But Linux sees is as another printer. PLEASE HELP!!
 
Old 08-04-2009, 08:47 AM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,819
Blog Entries: 1

Rep: Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209
YOu could try the following:
1. You could determine the IP of the printer through windows
2. A test page on the printer itself should contain its IP address as well, shouldn't it?

Once you've determined the right IP address for the printer, you can add it again in linux (having removed old/unnecessary printers, if such printers exist)

What if you scan your LAN to see the hosts that are up (using nmap)?
 
Old 08-04-2009, 09:20 AM   #3
wesader
LQ Newbie
 
Registered: Jul 2009
Location: Jefferson City MO
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for the reply! I know the actual IP address of the printer. It is statically assigned in the printer's configuration. What I need to know is what does my Linux box think the IP address of "saleslaser" is? Because it should be 192.168.1.200. But whe I send a print ob to "saleslaser" from Linux it goes to .233 which is another printer also configured in Linux under "sales2hp3700".
 
Old 08-04-2009, 11:16 AM   #4
whho
Member
 
Registered: Feb 2009
Posts: 38

Rep: Reputation: 16
Quote:
Originally Posted by wesader View Post
Thanks for the reply! I know the actual IP address of the printer. It is statically assigned in the printer's configuration. What I need to know is what does my Linux box think the IP address of "saleslaser" is? Because it should be 192.168.1.200. But whe I send a print ob to "saleslaser" from Linux it goes to .233 which is another printer also configured in Linux under "sales2hp3700".

Do you print through CUPS? Can you post /etc/cups/printers.conf ?
 
Old 08-04-2009, 01:13 PM   #5
wesader
LQ Newbie
 
Registered: Jul 2009
Location: Jefferson City MO
Posts: 5

Original Poster
Rep: Reputation: 0
CUPS

Man I areally am a newbie! I dont know what you mean when you say post. Can you elaborate?
 
Old 08-04-2009, 02:03 PM   #6
wesader
LQ Newbie
 
Registered: Jul 2009
Location: Jefferson City MO
Posts: 5

Original Poster
Rep: Reputation: 0
Ok, so I have found out that my ip for the printer "saleslaser" in linux is wrong. Now, how can I change it?
PLEASE HELP!!
 
Old 08-04-2009, 02:24 PM   #7
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,819
Blog Entries: 1

Rep: Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209
I think the easiest method would be to go to the printer manager, remove an existing printer and add a new one using the correct IP.
 
Old 08-04-2009, 02:40 PM   #8
wesader
LQ Newbie
 
Registered: Jul 2009
Location: Jefferson City MO
Posts: 5

Original Poster
Rep: Reputation: 0
Would the printer manager be in X windows? I will be using commands. I started X and could not find anything for controlling printers on the system.
 
Old 08-04-2009, 03:37 PM   #9
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
What I need to know is what does my Linux box think the IP address of "saleslaser" is? Because it should be 192.168.1.200. But whe I send a print ob to "saleslaser" from Linux it goes to .233 which is another printer also configured in Linux under "sales2hp3700".
Names ( "saleslaser" ) are mapped to IP numbers in the file /etc/hosts
cat /etc/hosts should show something like this:
Code:
127.0.0.1       localhost
#There may be more entries here
Add an entry for "saleslaser", like this:
Code:
127.0.0.1       localhost
#There may be more entries here
192.168.1.200        saleslaser.office.net             saleslaser
Change the .office.net bit so it matches the other entries (I have no idea how your network was set up).

Then restart your networking (or reboot, if you have absolutely no idea how to do this).

Then, when you refer to "saleslaser", it'll be mapped to the correct LAN address of 192.168.1.200
 
Old 08-04-2009, 11:20 PM   #10
whho
Member
 
Registered: Feb 2009
Posts: 38

Rep: Reputation: 16
Quote:
Originally Posted by wesader View Post
Man I areally am a newbie! I dont know what you mean when you say post. Can you elaborate?

I mean for you to copy and paste the contents of the file in the forum for members here to help you.

whho
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
banner printing - printing across multiple pages - in Linux, any suggestions? pbhj Linux - Software 3 11-07-2008 09:22 AM
[Printing] Confidential Printing with Sharp AR-M350 kabalak Linux - Hardware 5 10-01-2008 07:14 AM
Whats the difference between CUPS printing and Samba shared printing? depam Linux - Software 1 03-17-2006 01:56 PM
Cups Printing problem, Linux to Linux Printing problem folken718 Slackware 2 11-08-2004 10:10 AM
Scribus Printing How to put 4 flyers on a page when printing jazzboy Linux - Software 0 05-02-2004 06:13 AM


All times are GMT -5. The time now is 03:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration