Operating System - HP-UX
1829716 Members
2549 Online
109992 Solutions
New Discussion

users were unable to print from network printer.

 
ShreeS
Advisor

users were unable to print from network printer.

Hi all,

I am working on N-Class server running HPUX-11.00.

users were unable to print from HPLJ 8150 Network Printer. I need to know the particular printer configured or not?

What is the procedure Please guide me.

Thanks
10 REPLIES 10
mobidyc
Trusted Contributor

Re: users were unable to print from network printer.

Hello,

do you have error messages in your syslog.log file?

look for the spooler process:
#> ps -ef | grep lpsched

you run launch the following command for the printers status:
#> lpstat -p

if you have a disabled printer, you can try a simple:
#> enable printername

if it does'nt work, try to:
restart the spooler.
#> /sbin/init.d/lp (stop|start)

Regards,
Cedrick Gaillard
Best regards, Cedrick Gaillard
ShreeS
Advisor

Re: users were unable to print from network printer.

Hi

thanks,

Is any way to find that printer using IP address??
OldSchool
Honored Contributor

Re: users were unable to print from network printer.

this seems related:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1176724

*if* you know the IP address, then check the /etc/hosts file (or nslookup) to see what hostname (if any) is attached to the IP

then check the scripts in /var/spool/lp/interfaces for the IP / name in question.
V. Nyga
Honored Contributor

Re: users were unable to print from network printer.

Hi,

check the printer's user guide how to print the configuration.
If you don't have one, search here:
http://h20000.www2.hp.com/bizsupport/TechSupport/DocumentIndex.jsp?〈=en&cc=us&contentType=SupportManual&docIndexId=179166&prodTypeId=18972&prodSeriesId=27718〈=en&cc=us

For example:
http://bizsupport.austin.hp.com/bc/docs/support/SupportManual/bpl08648/bpl08648.pdf

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
V. Nyga
Honored Contributor

Re: users were unable to print from network printer.

See Step 12!

V.
*** Say 'Thanks' with Kudos ***
Tim Nelson
Honored Contributor

Re: users were unable to print from network printer.

if this is truely a network base printer then you can look in the interface file for the HOST/IP address being used.

grep PERIPH= /etc/lp/interface/HPLJ8150
and
grep PORT= /etc/lp/interface/HPLJ8150 to see what port is being used ( null defaults to port#1)



ShreeS
Advisor

Re: users were unable to print from network printer.

Hi Nelson,

This is the output

# xPORT, PERIPH, TEOJ are all configurable
xPORT=
PERIPH=hp2-1
DEVTYPE="PJL"
TEOJ="-w"
STATUSLOG=""
HPNPFOPT=
TOJMON=""
ONUSTATUS=""

here no PORT was mentioned. And what it mean "hp2-1"
Tim Nelson
Honored Contributor

Re: users were unable to print from network printer.

hp2-1 is the hostname as found in /etc/hosts.

grep hp2-1 /etc/hosts and you will get the IP address.

The port= null entry defaults to port 9100 which is the first port of an multiport jetdirect or simply the only port of a single port card/interface.

ShreeS
Advisor

Re: users were unable to print from network printer.

Hi,

I found printer what i want, that was disabled and I enable that printer, and when I give a file to print it is giving error "error code 2 in request tax1-4024 on printer tax1"

Is stopping and starting spooler will help??
ShreeS
Advisor

Re: users were unable to print from network printer.

Hi,

I found printer what i want, that was disabled and I enable that printer, and when I give a file to print it is giving error "error code 2 in request tax1-4024 on printer tax1"

Is stopping and starting spooler will help??

If i stop spooler will all prints requests are flush?