Hi there,

Does anyone know how to delete all jobs in a print queue by vbs?

When I restart one of my Company's printer, all old print jobs will print
again,
so I want to write a script to fix it.

Thank you in advanced.

Regards,
Stanley

Re: How to delete all jobs in a print queue by vbs? by Dave

Dave
Mon Aug 25 23:20:13 CDT 2003

Not really a fix, but stopping and restarting the spooler service may have
the desired effect.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows NT/2000 Operating Systems]

"Stanley" wrote:
> Hi there,
>
> Does anyone know how to delete all jobs in a print queue by vbs?
>
> When I restart one of my Company's printer, all old print jobs will print
> again,
> so I want to write a script to fix it.
>
> Thank you in advanced.
>
> Regards,
> Stanley
>
>



Re: How to delete all jobs in a print queue by vbs? by Stanley

Stanley
Tue Aug 26 01:05:03 CDT 2003

Hi David,

thx

Is there any solution to fix the problem?

BTW, do you know how to write script to delete all jobs in a print queue?

I found some scripts in the internet but those scripts need to know the jobs
no.

"Dave Patrick" <mail@Nospam.DSPatrick.com> ¼¶¼g©ó¶l¥ó·s»D
:uURTCm4aDHA.2580@TK2MSFTNGP09.phx.gbl...
> Not really a fix, but stopping and restarting the spooler service may have
> the desired effect.
>
> --
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft MVP [Windows NT/2000 Operating Systems]
>
> "Stanley" wrote:
> > Hi there,
> >
> > Does anyone know how to delete all jobs in a print queue by vbs?
> >
> > When I restart one of my Company's printer, all old print jobs will
print
> > again,
> > so I want to write a script to fix it.
> >
> > Thank you in advanced.
> >
> > Regards,
> > Stanley
> >
> >
>
>



Re: How to delete all jobs in a print queue by vbs? by Dave

Dave
Tue Aug 26 08:30:30 CDT 2003

Without a lot more details I would have no idea. You might try posting those
details in public.*.printing depending on your operating system.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows NT/2000 Operating Systems]

"Stanley" wrote:
> Hi David,
>
> thx
>
> Is there any solution to fix the problem?
>
> BTW, do you know how to write script to delete all jobs in a print queue?
>
> I found some scripts in the internet but those scripts need to know the
jobs
> no.



Re: How to delete all jobs in a print queue by vbs? by Stanley

Stanley
Tue Aug 26 20:42:06 CDT 2003

thx
"Dave Patrick" <mail@Nospam.DSPatrick.com> ¼¶¼g©ó¶l¥ó·s»D
:uBWR5Y9aDHA.1272@TK2MSFTNGP12.phx.gbl...
> Without a lot more details I would have no idea. You might try posting
those
> details in public.*.printing depending on your operating system.
>
> --
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft MVP [Windows NT/2000 Operating Systems]
>
> "Stanley" wrote:
> > Hi David,
> >
> > thx
> >
> > Is there any solution to fix the problem?
> >
> > BTW, do you know how to write script to delete all jobs in a print
queue?
> >
> > I found some scripts in the internet but those scripts need to know the
> jobs
> > no.
>
>