1827810 Members
1903 Online
109969 Solutions
New Discussion

removing an LP queue

 
SOLVED
Go to solution
Managed Services
Frequent Advisor

removing an LP queue

I have attempted to remove an LP printer via sam but I'm given the message 'Lp destination 'myprinter' does not exists on 'myserver'.
The interface file exists in /etc/lp/interface
Any ideas

Thanks

4 REPLIES 4
Sean OB_1
Honored Contributor

Re: removing an LP queue


try this:

lpadmin -xPRINTERNAME

then check the following directories and remove any entries for the printer.

/etc/dt/appconfig/types/C/
/etc/lp/interface/model.orig/
/etc/lp/interface/
/etc/lp/member/
/var/spool/lp/request/
/var/sam/lp/member/
/var/sam/lp/interface/model.orig/
/var/sam/lp/interface/
Charles McCary
Valued Contributor

Re: removing an LP queue

does the queue show up in lpstat? If not, then it's effectively "removed"

thanks,

c
S.K. Chan
Honored Contributor
Solution

Re: removing an LP queue

Take a look (DOCID= KBRC00009827)
http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062910397
It may be the solution. If not try removing the printer manually (command line).
# lpshut
# lpadmin -xmyprinter
# lpsched
MANOJ SRIVASTAVA
Honored Contributor

Re: removing an LP queue

lpstat -t should show the prineter , if yes then do a lpadmin -x pritner name to remove it , after this u need to restart the scheduler
if not then there are remanents of the old ques like some files and irestories which ahve not been cleanly remved.

so to overcome this what u do is

lpadmin -p myprinetre -v/dev/null /-mdumb

this willr ecreaste the printer and then you can delte it again to clean up fully.


Manoj Srivastava