Solved

Print Server IP Address

Posted on 2004-09-22
5
556 Views
Last Modified: 2013-12-27
I have set up several print servers using the software that came with them (Axis,HP,etc.)  The setup software would create the queue and add the printer to the spooler.  In the course of this setup I would have to specify an IP address for the print server.  

I need to get the ip addresses for the print queues that I've set up.  Where do I go to get the information?

OS:  Solaris 2.6
 I've looked in /etc/print.conf and the info isn't there.  Also checked the host file.  Nothing there either.

Thanks.
0
Comment
Question by:llewallen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 48

Expert Comment

by:Tintin
ID: 12127860
The information should be in the output of

lpstat -t
0
 

Author Comment

by:llewallen
ID: 12127980
Unfortunatly no.  What I get from lpstat is the same info  as what is in my printers.conf file.

Example:

#
LD_1_HP4V:\
        :bsdaddr=MBIA-ORACLE,LD_1_HP4V,Solaris:
LD_1_HPINK:\
        :bsdaddr=MBIA-ORACLE,LD_1_HPINK,Solaris:
MUTEC_1:\
        :bsdaddr=MBIA-ORACLE,MUTEC_1,Solaris:
LD_WHSE_1:\
        :bsdaddr=10.1.30.55,LPT1_TEXT,Solaris

The top 3 printers print to a print queue serviced by a print server, like the 4th printer.
0
 
LVL 48

Expert Comment

by:Tintin
ID: 12128293
I think I misunderstood your question.

You'll need to log onto the print server if you want to get any specific info on the configuration it has.
0
 
LVL 21

Expert Comment

by:tfewster
ID: 12128477
`grep PERIPH= /etc/lp/interface/*` to see the IP addresses that have been entered using HPs Jetadmin tool (or equivalent)

The files in /etc/lp/interface will be the printer drivers corresponding to the queue names - e.g. LD_1_HP4V - So you can check them individually if Axis printer drivers have a different format

See http://www.experts-exchange.com/Networking/Unix_Networking/Q_20959487.html for a similar discussion
0
 
LVL 38

Accepted Solution

by:
yuzh earned 250 total points
ID: 12129454
>>I have set up several print servers using the software that came with them (Axis,HP,etc.)  The setup software would create the queue and add the printer to the spooler.  In the course of this setup I would have to specify an IP address for the print server.  

Not sure if I understand your question.

1) If you try to setup a Solaris Printer server, you don't need any third party software, all
you need to do is to connet the printer to the Sunbox then run the GUI tool:

     admintool &
     to add a local printer.
     see http:Q_20607008.html   for more details
In this case, the printer server IP is the IP of this Sunbox !

2) If you want to access to a network printer, the printer server IP is the machine's IP which
    the printer direct connted to, Or if the printer has a NIC card, the IP of the printer card is
    the printer server IP.

    to access to the printer, you need to run "admintool" and add a remote printer.
    see http:Q_20268256.html for more details.


 
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question