The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to find the IP address of a printer abNORMal HP-UX 2 02-29-2008 04:49 AM
Lpadmin and viewing printer settings BravehearT1326 UNIX for Dummies Questions & Answers 1 03-12-2007 04:20 AM
configuring printer using lpadmin krishan SUN Solaris 3 05-26-2005 05:53 AM
Ooops there goes lpadmin =0 nemex UNIX for Dummies Questions & Answers 2 12-23-2001 09:01 PM
lpadmin help andrec UNIX for Dummies Questions & Answers 2 09-13-2001 10:51 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 01-06-2006
Registered User
 

Join Date: Nov 2004
Location: France
Posts: 9
Add printer with IP address with lpadmin

Hi all,
I'm tryin' to add a network printer with lpadmin (I don't have access to admintool) to a Solarisbox but I don't exactly know where to use the IP address.
The thing is that this printer exists already with another printQ but I don't see any printerserver declared with lpsystem -l although the existing one seems to be controlled that way since lpstat -t shows me a system name.

So ...
Any hints?

Tnx in advance!
__________________
Peter
Reply With Quote
Forum Sponsor
  #2  
Old 01-06-2006
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Take a look at Solaris printer installation - it should help.
Reply With Quote
  #3  
Old 01-07-2006
Registered User
 

Join Date: Jan 2006
Posts: 3
Network printer

Quote:
Originally Posted by nulnul7
Hi all,
I'm tryin' to add a network printer with lpadmin (I don't have access to admintool) to a Solarisbox but I don't exactly know where to use the IP address.
The thing is that this printer exists already with another printQ but I don't see any printerserver declared with lpsystem -l although the existing one seems to be controlled that way since lpstat -t shows me a system name.

So ...
Any hints?

Tnx in advance!
Hi,

Nulnul7,

actually u need to confirm if the printer is confogured on an ip address directly or via an printserver.

If it is a direct printer assigned to an ip address first try to ping that ip address, if ur able to ping that ip address then add it to system by
lpsystem –t bsd Psname (Psname : Print server name or the name
mapped to the ip address in /etc/hosts)
After that ckeck its status by

lpsystem -l
then shut the print scheduler bu lpshut or /usr/lib/lpshut
Then add the printer to the system by

lpadmin –p Printer name -s Psname !Port No ( if using print server )

OR

lpadmin -p printer name -s ipaddress
then enable the print scheduler /usr/lib/lpsched
then enable and accept the printer by

enable printername
accept printername

This should solve your problem.

Thanks,
Tausif Siddiqui
Reply With Quote
  #4  
Old 01-09-2006
Registered User
 

Join Date: Nov 2004
Location: France
Posts: 9
Hi again and thanks for your help.

Ok, maybe I should have done some more searching before posting but unfortunately, we're always in lack of time.

Well, I don't know really why (the printer seems to be considered as remote) but it works fine now, Tausif. The day I will retire, I'll have a look on the logic behind this all ...

Thank you all!

Peter
__________________
Peter
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:20 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0