Operating System - HP-UX
1753767 Members
5793 Online
108799 Solutions
New Discussion юеВ

Re: Interpreting Print log file

 
Renaud Belanger
Occasional Contributor

Interpreting Print log file

Hi

Can someone help me interpret this log file of a failed printing using LPD on hpux?(/var/adm/lp/log). I know lpd is obsolete but it has worked somewhat before and we have few alternatives.
The job # 386 initiated on printer LPHOLA1 did not print. Nothing seems to print anymore but the VPN is up and running. The printer was re-booted. It`s a Canon C2880i


/usr/sbin/lpsched: FIFO: Jan 4 15:55 r 5521 1262638516 0 386 0 7 188 maryjane - LPHOLA1 -
LPHOLA1-386 hs585 LPHOLA1 Jan 4 15:55
/usr/sbin/lpsched: FIFO: Jan 4 15:56 r 2827 1262638561 0 812 0 7 445 maryjane - EMAIL -
EMAIL-812 bgouldsb EMAIL Jan 4 15:56
/usr/sbin/lpsched: CHILD: Jan 4 15:56 EMAIL 812 0000
/usr/sbin/lpsched: FIFO: Jan 4 15:56 m EMAIL c 15202
/usr/sbin/lpsched: FIFO: Jan 4 15:56 n
/usr/sbin/lpsched: FIFO: Jan 4 15:56 n
/usr/sbin/lpsched: FIFO: Jan 4 15:56 n
/usr/sbin/lpsched: FIFO: Jan 4 15:56 c f LPHOLA1 . .
/usr/sbin/lpsched: FIFO: Jan 4 15:56 n
/usr/sbin/lpsched: FIFO: Jan 4 15:56 n
/usr/sbin/lpsched: FIFO: Jan 4 15:56 n
/usr/sbin/lpsched: FIFO: Jan 4 15:56 n
/usr/sbin/lpsched: FIFO: Jan 4 15:56 n
/usr/sbin/lpsched: FIFO: Jan 4 15:56 n
/usr/sbin/lpsched: FIFO: Jan 4 15:56 r 2291 1262638586 0 813 0 7 445 maryjane - EMAIL -
EMAIL-813 sprince EMAIL Jan 4 15:56
/usr/sbin/lpsched: CHILD: Jan 4 15:56 EMAIL 813 0000
/usr/sbin/lpsched: FIFO: Jan 4 15:56 m EMAIL c 20151
/usr/sbin/lpsched: FIFO: Jan 4 15:56 n
/usr/sbin/lpsched: FIFO: Jan 4 15:56 n
/usr/sbin/lpsched: FIFO: Jan 4 15:56 n
/usr/sbin/lpsched: FIFO: Jan 4 15:56 c f LPHOLA1 . .
/usr/sbin/lpsched: FIFO: Jan 4 15:56 n
/usr/sbin/lpsched: FIFO: Jan 4 15:56 n
/usr/sbin/lpsched: FIFO: Jan 4 15:56 n
/usr/sbin/lpsched: FIFO: Jan 4 15:56 n
/usr/sbin/lpsched: FIFO: Jan 4 15:56 n
/usr/sbin/lpsched: FIFO: Jan 4 15:56 n
/usr/sbin/lpsched: FIFO: Jan 4 15:57 r 3426 1262638621 0 814 0 7 445 maryjane - EMAIL -
EMAIL-814 crobinso EMAIL Jan 4 15:57
/usr/sbin/lpsched: CHILD: Jan 4 15:57 EMAIL 814 0000
/usr/sbin/lpsched: FIFO: Jan 4 15:57 m EMAIL c 26031
/usr/sbin/lpsched: FIFO: Jan 4 15:58 r 418494 1262638682 0 815 0 7 445 maryjane - EMAIL -
EMAIL-815 dngai EMAIL Jan 4 15:58
/usr/sbin/lpsched: CHILD: Jan 4 15:58 EMAIL 815 0000
/usr/sbin/lpsched: FIFO: Jan 4 15:58 m EMAIL c 7170
5 REPLIES 5
Michael Steele_2
Honored Contributor

Re: Interpreting Print log file

Hi

The way to trouble shoot a printer in HP-UX is with HPPI or JetAdmin. You mention old. Well JetAdmin was the OLD add on utility while HPPI is the NEW add on utility. Regardless, they work the same way when it comes to diagnostics.

#################
a) lpstat -p queuename (* might be P. *)
b) cancel any jobs
c) disable queuename
d) ls -l | hpnpf -x 'ipaddress' 9100 -n

e) if it hangs => there's a network problem. If it prints then delete and add in queuename, contact the sappers, and,

f) enable queuename
################



a) create a one page test file: name phone # call me

b) type in hppi -or- jetadmin to main menu
c) diagnostics
d) examine spooler operations (* menu option # 2 *)
4) select your printer
5) answer 'yes' to everything and observe the test print job running through the queue.
6) view /tmp/hpnpflog (* if there *)
Support Fatherhood - Stop Family Law
Renaud Belanger
Occasional Contributor

Re: Interpreting Print log file

We can use HPPI with a non-hp printer ?
Michael Steele_2
Honored Contributor

Re: Interpreting Print log file

hppi is an hp-ux utility for all printer types.
Support Fatherhood - Stop Family Law
Renaud Belanger
Occasional Contributor

Re: Interpreting Print log file

It was my understanding that Jetadmin/HPPI was for printers that support JetDirect only. It does lpd also on port 515 ?
Michael Steele_2
Honored Contributor

Re: Interpreting Print log file

fine, don't use it. Its on every single box but you don't have to use it.
Support Fatherhood - Stop Family Law