Operating System - HP-UX
1845733 Members
3818 Online
110249 Solutions
New Discussion

Re: Problem when removing a printer...

 
SOLVED
Go to solution
Jonathan Caplette_1
Super Advisor

Problem when removing a printer...

Hi guys,

I've a problem when I try to remove a printer from my spooler... I tried it with SAM and I got this error, I selected the printer, clicked Action and then Remove:

Lp destination "H17" does not exist on atlas.


So I decided to removed it manually with lpadmin, I get this error:

[jcaplett@atlas]$ sudo /usr/sbin/lpshut
scheduler stopped
[jcaplett@atlas]$ sudo /usr/sbin/lpadmin -xH17
/usr/sbin/lpadmin: can't open member file
[jcaplett@atlas]$ sudo /usr/sbin/lpsched
scheduler is running


Does anybody know how can I remove my print queue from the spooler?!?!?

Regards
Jonathan
3 REPLIES 3
Navin Bhat_2
Trusted Contributor
Solution

Re: Problem when removing a printer...

# touch /etc/lp/member/remoteptr

# chown lp:lp /etc/lp/member/remoteptr

# lpadmin -xremoteptr
Jonathan Caplette_1
Super Advisor

Re: Problem when removing a printer...

Thanks Navin,

It worked!!
Stefan_6
Frequent Advisor

Re: Problem when removing a printer...

Simply to touch the file didn't work for me, had to copy an existing member;
Then the lpadmin -x[queue] went well