Operating System - HP-UX
1834625 Members
2839 Online
110069 Solutions
New Discussion

Print jobs not reaching Printer

 
susee
Advisor

Print jobs not reaching Printer

Hi All

One printer in our network is not reaching the printer even the printer is pingable
details
--------------------------------------------
lpstat -t |grep XT00
device for XT00: /dev/null
remote to: XT00 on XT00-jet-laser
XT00 accepting requests since Jan 3 16:41
printer XT00 is idle. enabled since Feb 17 16:26
--------------------
cat /etc/hosts |grep -i xt00
10.16.231.251 XT00-jet-laser
---------------------------
# ping XT00-jet-laser
PING XT00-jet-laser: 64 byte packets
64 bytes from 10.16.231.251: icmp_seq=0. time=55. ms
64 bytes from 10.16.231.251: icmp_seq=1. time=51. ms

----XT00-jet-laser PING Statistics----
2 packets transmitted, 2 packets received, 0% packet loss
round-trip (ms) min/avg/max = 51/53/55
----------------------------------

# ls -l /etc/lp/interface |grep -i xt00
-rwxr-xr-x 1 lp lp 5256 Jan 3 16:41 XT00
#
----------------------------------


And When i Give the print job
# lp -d XT00 /etc/motd
request id is XT00-8574 (1 file)
# lpstat -t |grep XT00
device for XT00: /dev/null
remote to: XT00 on XT00-jet-laser
XT00 accepting requests since Jan 3 16:41
printer XT00 now sending XT00-8574 to XT00-jet-laser. enabled since Feb 17 16:26
XT00-8574 root priority 0 Feb 17 16:33 on XT00

It is not going out of the queue

------------------------------------
the printer was added using lpadmin command
lpadmin -pXT00 -v/dev/null -mrmodel -ocmrcmodel -osmrsmodel -ormXT00-jet-laser -orpXT00

I Tried stopping the scheduler , enabling disabling , accept reject

but it never seems going out of the queue

Note : the ip and printer is online , prints from other machines on the network

Expecting your valuable suggestions

Thanks & regards
Susee
5 REPLIES 5
Jeff_Traigle
Honored Contributor

Re: Print jobs not reaching Printer

What kind of print server are you printing to for this remote printer? As I recall, JetDirect print servers were pretty forgiving with the remote printer name (specified by the -orp option). Other print servers (Microplex and Axis, for instance, that I have previous experience with also) were very specific about the queue names they would accept. Check the documentation of your specific print server to see if they have specific internal queue names you should be specifying in the -orp option of your lpadmin command.
--
Jeff Traigle
Carl Munnelly
Frequent Advisor

Re: Print jobs not reaching Printer

What does printer driver look like.

On UX 11i
/var/spool/lp/interface/printname &
/var/spool/lp/interface/model.orig/printername

Carl Munnelly
Frequent Advisor

Re: Print jobs not reaching Printer

Sorry forgot to include

They should be 755 and owned by lp:bin
Carl Munnelly
Frequent Advisor

Re: Print jobs not reaching Printer

Also is anything being written to the print logfile.

grep printname in /var/adm/lp/log or view file and search for printername
Tor-Arne Nostdal
Trusted Contributor

Re: Print jobs not reaching Printer

Have you tried to cancel first job in queue and then restart the queue?
lpstat -o XT00
cancel {first job in queue}
This might often solve your problems, as there might be something in the first job causing the printer to fail.
Since the job does not get a confirmation about successful output, it will stay in the queue causing it to "hang".
(unless you just dump everything in the queue without checking output status)


Check the printer:
If this is a HP printer you can use hpnpadmin command to check printer via SNMP.

Several times I have investigated just to find out that there's an IO-error on the local printer... or even missing paper...

Hints:
PA-Risc - jetadmin
Itanium - hppi

Newer printers accept administration via browser interface. Try http://{printerhostname}


/Tor-Arne
I'm trying to become President of the state I'm in...