How to read and write to the comments field of a printqueue

The title pretty much says it all, I'd like to know if there is a way to read and write to the comments field of a printqueue using vbscript.  I can get at the other fields, but not this one, since its not tied to a port.  OS is 2k3 server.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hi Adam,

the script in the blue box on should could be a good example for you.
Specify computer name of your print server and it should show you how to do it.

Find a complete reference on available printer properties on
'Comment' may be the right field for you, I assume.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
archv6625Author Commented:
The above code works great on a 2K3 print server, which is as I would expect from reading the linked documents.  I see that there is no way to read using that particular method on a 2k print server, any ideas about doing that?  
Yes, above MS document tells 'Comment not available on 2k or NT'. It was implemented by an WMI class upgrade coming with XP and 2003, I'm afraid.
Sorry, I assume there is no remedy for this.
Another addition:
we're mapping printers on a W2k Advanced Server onto XP machines. By doing so the local printer queue on XP inherits all comments from our central spooler printers.
Maybe you can map all central printers to an XP machine and run the script on it to see all comments?
I never tried it, just an idea...
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.