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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Configuring HP LaserJet 9050dn network printer with Sun Solaris 10 box

Status
Not open for further replies.

techincaladmin

Technical User
Jul 5, 2009
26
QA
Hi there,

I have a Sun Solaris(SPARC) box running solaris 10, i m trying to configure Hp LaserJet 9050dn printer with ref to Sun DOC

Solaris 10 TBD??

HP Jetadmin for Solaris[TM] Operating Environment.. not available for download(Solaris 10)

Kindly suggest me some appropriate method to follow...
 
bash-3.00# ping ITSCLSPRN1.xx.xxx.xx
ITSCLSPRN1.xx.xxx.xx is alive
bash-3.00# telnet ITSCLSPRN1.xx.xxx.xx 515
Trying 86.36.69.44...
^]
^[^]^]
^C
bash-3.00#
 
bash-3.00# lpstat -a
_default accepting requests since Sep 27 12:58 2009
mitsb00fp09bl accepting requests since Sep 27 12:58 2009
bash-3.00# lpstat -t
scheduler is running
system default destination: mitsb00fp09bl
system for _default: ITSCLSPRN1.xx.xxx.xx (as printer MITSB00FP09BL)
system for mitsb00fp09bl: ITSCLSPRN1.xx.xxx.xx (as printer MITSB00FP09BL)
_default accepting requests since Sep 27 12:58 2009
mitsb00fp09bl accepting requests since Sep 27 12:58 2009
printer _default unknown state. enabled since Sep 27 12:58 2009. available.

Windows LPD Server
Printer \\86.36.69.44\MITSB00FP09BL

Owner Status Jobname Job-Id Size Pages Priority
----------------------------------------------------------------------------
printer mitsb00fp09bl unknown state. enabled since Sep 27 12:58 2009. available.
bash-3.00#


This is what i am getting after openning port 515...
 
That looks a bit better. Does it print? Try ls -l / | lp -d mistb00fp09bl for example?

Annihilannic.
 
bash-3.00# ls -l / | lp -d mitsb00fp09bl
request id is mitsb00fp09bl-6 (1 file)

bash-3.00# lpstat -t
scheduler is running
system default destination: mitsb00fp09bl
system for _default: ITSCLSPRN1.xx.xxx.xx (as printer MITSB00FP09BL)
system for mitsb00fp09bl: ITSCLSPRN1.xx.xxx.xx (as printer MITSB00FP09BL)
_default accepting requests since Sep 28 07:46 2009
mitsb00fp09bl accepting requests since Sep 28 07:46 2009
printer _default unknown state. enabled since Sep 28 07:46 2009. available.

Windows LPD Server
Printer \\86.36.69.44\MITSB00FP09BL

Owner Status Jobname Job-Id Size Pages Priority
----------------------------------------------------------------------------
printer mitsb00fp09bl unknown state. enabled since Sep 28 07:46 2009. available.
bash-3.00#

nothing coming out of the printer :(
 
Can you see anything in the queue when you look on the Windows print server? Any error messages? (Check event viewer.)

Annihilannic.
 
There is no event in Windows Print Server.. :(((

bash-3.00# ls -l / | lp -d mitsb00fp09bl
request id is mitsb00fp09bl-11 (1 file)

bash-3.00# lpstat -t
scheduler is running
system default destination: mitsb00fp09bl
system for _default: ITSCLSPRN1.qu.edu.qa (as printer MITSB00FP09BL)
system for mitsb00fp09bl: ITSCLSPRN1.qu.edu.qa (as printer MITSB00FP09BL)
_default accepting requests since Sep 29 10:53 2009
mitsb00fp09bl accepting requests since Sep 29 10:53 2009
printer _default unknown state. enabled since Sep 29 10:53 2009. available.

Windows LPD Server
Printer \\86.36.69.44\MITSB00FP09BL

Owner Status Jobname Job-Id Size Pages Priority
----------------------------------------------------------------------------
printer mitsb00fp09bl unknown state. enabled since Sep 29 10:53 2009. available.
bash-3.00#
 
bash-3.00# telnet 86.36.69.44 515
Trying 86.36.69.44...
Connected to 86.36.69.44.
Escape character is '^]'.
^]
telnet> close
Connection to 86.36.69.44 closed.
bash-3.00# telnet 86.36.69.44 9100
Trying 86.36.69.44...
telnet: Unable to connect to remote host: Connection refused
bash-3.00#
 
# more /etc/printer.conf
/etc/printer.conf: No such file or directory
# more /etc/printers.conf
#
# If you hand edit this file, comments and structure may change.
# The preferred method of modifying this file is through the use of
# lpset(1M)
#
mitsb00fp09bl:\
:bsdaddr=ITSCLSPRN1.qu.edu.qa,MITSB00FP09BL,Solaris:

86_1:\
:bsdaddr=sisttssb1,86_1,Solaris:

_default:\
:use=mitsb00fp09bl:
#
 
bash-3.00# lpstat -p mitsb00fp09bl
printer mitsb00fp09bl unknown state. enabled since Sep 29 10:58 2009. available.

Windows LPD Server
Printer \\86.36.69.44\MITSB00FP09BL

Owner Status Jobname Job-Id Size Pages Priority
----------------------------------------------------------------------------
bash-3.00# lpstat -p 86_1
printer 86_1 is idle. enabled since Sun Sep 27 11:33:09 2009. available.
bash-3.00# lpstat -p _default
printer _default unknown state. enabled since Sep 29 10:59 2009. available.

Windows LPD Server
Printer \\86.36.69.44\MITSB00FP09BL

Owner Status Jobname Job-Id Size Pages Priority
----------------------------------------------------------------------------
bash-3.00# ls -l / | lp -d 86_1
request id is 86_1-2 (standard input)
bash-3.00# lpstat -p 86_1
printer 86_1 disabled since Tue Sep 29 10:59:56 2009. available.
unknown reason
 
Any more luck with this?

I have some notes backed up somewhere at home which may be useful... I'll try and track them down.

Annihilannic.
 
Ah! Found something. Try this... add the following to /etc/hosts:

Code:
86.36.69.44    itsclsprn1  mitsb00fp09bl

Then:

Code:
# remove the current queue
lpadmin -x mitsb00fp09bl
# add it again
lpadmin -p mitsb00fp09bl -T hplaser -I simple
accept mitsb00fp09bl
enable mitsb00fp09bl

And if that still doesn't work, try this too (although I'm less confident about this one since your earlier telnet tests seemed to show that the printer was not listening on the BSD port):

Code:
# remove the current queue
lpadmin -x mitsb00fp09bl
# add it again
lpadmin -p mitsb00fp09bl -o protocol=bsd,dest=itsclsprn1 -T PS -I postscript -v /dev/null -i /usr/lib/lp/model/netstandard
accept mitsb00fp09bl
enable mitsb00fp09bl

Why are you referring to the same printer by two names, "itsclsprn1" and "mitsb00fp09bl"? Are they really the same printer?

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top