Hi, Avery,

It certainly is possible to do what you suggest. Andrew's suggestion about finding out why the jobs are failing is a decent one, as well.

There's a prnqctl.vbs script on Windows systems ( ) that you could call from a logoff script (configured via Group Policy). Alternatively, you could use a scripting language like PowerShell to invoke the Purge method on a PrintQueue COM object. If you'd like a little help with the script option, let me know.


> -----Original Message-----
> From: Technology Discussion at UVM [mailto:[log in to unmask]] On Behalf
> Of Avery Bacon
> Sent: Wednesday, September 24, 2014 9:52 AM
> To: [log in to unmask]
> Subject: clear local print queue on user logoff (Windows lab machines)
> Hi Folks,
> I have a network printer set up via IP configuration in one of my labs.
> The server queue didn't work with the virtual lab implementation and our
> printer code system, so it had to be set up per machine instead. Print
> jobs fail frequently enough that a logoff script to clear the local
> queue seems like a good idea, but I'm not sure how to implement it. Is
> anyone doing something like to this? Suggestions for other ways to deal
> with the issue?
> Thanks,
> -Avery
> --
> Avery Bacon
> IT Support Coordinator
> College of Nursing and Health Sciences
> University of Vermont