Solved

Print Server IP Address

Posted on 2004-09-22
5
547 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
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 20

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

896 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now