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