Hi,

Has anyone ever succeeded in removing a printer from a Netware print queue?
I have several computers in my organization that can print to this print
queue and I've been trying to remove this reference by using a vbScript.

Thanks in Adcvance,
JeffH

RE: Removing a printer by jefrie

jefrie
Thu Jan 26 03:00:03 CST 2006

I interpret your question as follows:

You have a netware printserver/shared printer and your clients/workstations
use this printer. To remove this printer you can use this code:

Set objNetwork = WScript.CreateObject("WScript.Network")
objNetwork.RemovePrinterConnection "\\PrintServer\xerox3006"

found here:
http://www.microsoft.com/technet/scriptcenter/scripts/printing/client/prclvb05.mspx

Hope that will help you
--
Jens Frieben (Germany)


"JeffH" wrote:

> Hi,
>
> Has anyone ever succeeded in removing a printer from a Netware print queue?
> I have several computers in my organization that can print to this print
> queue and I've been trying to remove this reference by using a vbScript.
>
> Thanks in Adcvance,
> JeffH
>
>
>

Re: Removing a printer by jlopezdia

jlopezdia
Thu Jan 26 03:25:45 CST 2006

This script doesn't work with Novell printers. I have the same problem
and the only solution I found is delete the printer from the netware
ndps.


Re: Removing a printer by JeffH

JeffH
Thu Jan 26 11:09:53 CST 2006

Hi,

I tried the solution posted on Microsoft's site. And I agree, that it
doesn't work. The problem I am having with the deletion of the print queue
is that the reference is still on the workstation. I don't want my user
community to be confused when they see something out there that really
should not be. I'd like to find a solution that would allow me to 'clean
that up'. I could create a Netware Zenworks package to do this but I
thought that I could avoid dsoing this. Maybe that would be the best way to
get the job done.

Thanks,
JeffH


<jlopezdia@gmail.com> wrote in message
news:1138267545.230989.250450@g43g2000cwa.googlegroups.com...
> This script doesn't work with Novell printers. I have the same problem
> and the only solution I found is delete the printer from the netware
> ndps.
>