Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to figure out how printer is setup?

Status
Not open for further replies.

wosie

IS-IT--Management
Sep 3, 2008
39
GB
we have changed the printer many times and hooked it up to the same ip address each time.

The name of the printer01 i haven't changed on the physical printer itself.

however this command always seems to work
lpr -P printer01 document

hence the question is how come sending it to printer01 works everytime. is unix picking the share name printer01 from my windows share, or is there a way to find if printer01 is mapped to the ip address?

thanks,
 
Might help if you told us what unix you are using.


printer01 is probably the printer name in unix and mapped to the network address.


Ed Fair
Give the wrong symptoms, get the wrong solutions.
 
Using Solaris 9,

any ideas how to find the mapping

tried looking into /etc/printers.conf
and lpstat but don't see ip addresses

cheers
 
Zilch experience with solaris. Maybe find, and look for printer01 buried somewhere in the printer stuff, then look in the file you found to see how it is getting dumped out to the network. May be being cat filename todevice.

Ed Fair
Give the wrong symptoms, get the wrong solutions.
 
Had a look no entry of printer01 in hosts file
 
Perhaps it is in DNS. What does nslookup printer01 return?

What does the entry for that printer in /etc/printers.conf look like?

Annihilannic.
 
yeah tried a nslookup it does give the ip address.

and printers.conf:

:bsaddr=server,printer01,solaris:\
:description=floor
:user-equivalence=true

--
no signs of ip address yet.
 
Well, it must be using DNS then. That third field in printers.conf is the hostname it will attempt to send the print job to.

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top