Operating System - HP-UX
1837122 Members
11356 Online
110112 Solutions
New Discussion

Re: re: delete spooler printer hpux 11.i

 
SOLVED
Go to solution
Jacques Carriere
Regular Advisor

re: delete spooler printer hpux 11.i

When I try to delete a printer, I get the message "Lp destination "Hp5si_b1446" does not exist". Does anyone know how I can successfully delete this reference to a printer.
3 REPLIES 3
Pete Randall
Outstanding Contributor
Solution

Re: re: delete spooler printer hpux 11.i

There are three ways that I know of, depending on how it was added:

SAM (which should figure out the proper way of the two following methods)

lpadmin -x (for lp spooler added printers)

removequeue -f -q (for hppi added printers)


Pete


Pete
Geoff Wild
Honored Contributor

Re: re: delete spooler printer hpux 11.i

How are you trying to delete?

Does the printer show in:

lpstat Hp5si_b1446

What interface is it:

grep PRINTERCFG /etc/lp/interface/Hp5si_b1446

If not - then the printer isn't in the spooler...

Try:

lpadmin -xHp5si_b1446


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Rick Garland
Honored Contributor

Re: re: delete spooler printer hpux 11.i

When deleting a printer, the spooler must be stopped as well. You can chain 3 commands together to accomplish this feat with about 2 sec time of the spooler being off.

Assuming you get the info for the printer,

lpshut;lpadmin -x;lpsched

This will shut down the spooler, remove the printer, turn on the spooler.

Real quick.