Operating System - HP-UX
1820114 Members
3467 Online
109619 Solutions
New Discussion юеВ

printing and class queue's

 
Belinda Dermody
Super Advisor

printing and class queue's

I have 3 hp printers finlaser1,finlaser2 and finlaser3 set up on two HP 9000 10.20 systems, with a class queue of finance. Everything works fine, but once every month or so, the print jobs will hang up in the finance queue and will not be routed to the printers. I stop/start S72lp but they will release. The only way I have corrected is by removing the three printers and the finance class queue and then readding the printers with the class. If I do a lpalt command the jobs will be moved from finance to the selected finlaser printer. Any clues what might be causing the class queue hanging up like that
3 REPLIES 3
harry d brown jr
Honored Contributor

Re: printing and class queue's

The first question is do you have the latest patches installed (sept 2001)?

live free or die
harry
Live Free or Die
A. Clay Stephenson
Acclaimed Contributor

Re: printing and class queue's

Hi James:

You should not have to remove the print queues to resolve.

The next time this happens try something close to this:


lpstat -t
I suspect you will see something like
xxx-561 now printing on xxx.

See if you can do a ps -ef and find the process id.

Do an lpshut. Kill the process and then do an lpsched. Occasionally printers and JetDirect cards get confused for lack of a better term or suffer a small power loss.

You really should not have to use the lp start/stop scripts in /sbin/init.d but rather use the lpshut/lpstart commands. You may want to issue a cancel xxx-561 before the lpshut.


Regards, Clay
If it ain't broke, I can fix that.
Sanjay_6
Honored Contributor

Re: printing and class queue's

Hi James,

Suugest you load the latest lp patches. Also do a lpshut and lpsched and see if it helps.

/usr/lib/lpshut
/usr/lib/lpsched

Hope this helps.

Regds