Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - Print Queue Logging

Reply
 
Old 07-24-2008   #1 (permalink)
Mark


 
 

Print Queue Logging

Hi

I would like to know if it's possible to write a script or a small program
that takes all the info displayed in a print queue and puts them in a txt
file.


I was thinking to write this in VBS but i'm not sure if we can.

Can anyone suggest in what language can this be written ?

Thanks




My System SpecsSystem Spec
Old 07-24-2008   #2 (permalink)
TDM


 
 

Re: Print Queue Logging


"Mark" <Mark@xxxxxx> wrote in message news:F3F79A27-B5FA-4C57-B92F-77CEC3E66D9B@xxxxxx
Quote:

> Hi
>
> I would like to know if it's possible to write a script or a small program
> that takes all the info displayed in a print queue and puts them in a txt
> file.
>
>
> I was thinking to write this in VBS but i'm not sure if we can.
>
> Can anyone suggest in what language can this be written ?
>
> Thanks
>
>
>
You should be able to use WMI using the Win32_Printjob class.
Keep in mind, if there are no print jobs in the Queue, there will
be no instances of Win32_Printjob so you need to take that into
account when you write your script.

TDM
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Print jobs stuck on Print queue Network & Sharing
Print job in queue gets port from next print job Vista print fax & scan
After printing several documents, the print queue hangs, print st Vista print fax & scan
Re: Print hangs in queue Vista print fax & scan
Print Queue Problem Vista print fax & scan


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46