Operating System - HP-UX
1752747 Members
4659 Online
108789 Solutions
New Discussion юеВ

Re: Unable to remove print queue

 
SOLVED
Go to solution
so.nimda
Super Advisor

Re: Unable to remove print queue

Hi Kevin,

It's in "/var/sam/lp/lpinfo" and I have removed it.

When I go to SAM, it's still there. And using SAM -> Actions -> Remove, the error is still there :

"Lp destination "PRT6455" does not exist on ."

This printer sure doesn't want to be removed.

Thanks for working with me through this.

Regards
Kevin Lister
Frequent Advisor

Re: Unable to remove print queue

No problem! I'm just sorry that you are having so much trouble with it. I've had similar problems as well.

Have you stopped and restarted the lp daemon since since removing it from the lpinfo file?

kev
so.nimda
Super Advisor

Re: Unable to remove print queue

Hi Kevin,

No luck !

I have stopped the lp daemon, go to SAM -> Actions -> Remove, and the error is still there :

"Lp destination "PRT6455" does not exist on ."

I have also removed the IP address in /etc/hosts when I did the above.

SAM somehow still remembers this entry even though we have removed all traces of it.

Thanks
Dennis Handly
Acclaimed Contributor

Re: Unable to remove print queue

>SAM somehow still remembers this entry even though we have removed all traces of it.

I suppose you could use tusc to track down what SAM is doing and what files it is reading.
Kevin Lister
Frequent Advisor

Re: Unable to remove print queue

That's a great idea. Start up SAM, attach to the process using tusc, and then go through the motions of deleting. Perhaps you can try to re-add it and then delete it.

kev
so.nimda
Super Advisor

Re: Unable to remove print queue

Hi Dennis,

Thanks for the reply.

With my limited UX knowledge, I didn't dare to
attempt using "tusc". =)

Thanks

so.nimda
Super Advisor

Re: Unable to remove print queue

Hi Kevin,

Sorry for the late reply.

I have managed to remove that printer queue. I didn't try "tusc" as I think it's beyond my expertise.

Anyway, all the printer profiles and related files were "manually created" (by copying from a valid printer and renaming it) in all the locations and then using "remove queue" to remove it - and it worked.

Thanks for all your patience and help. =)
Dennis Handly
Acclaimed Contributor

Re: Unable to remove print queue

>I didn't dare to attempt using "tusc". =)

tusc isn't hard to use but you may have trouble limiting or interpreting the info.

tusc -fp -o tusc.out -ea sam ...
Kevin Lister
Frequent Advisor

Re: Unable to remove print queue

That's great news! I suspected that re-adding and then removing may work. I'm so glad you were able to get it done. Take care and thanks for the points!

kev