Jump to content

Citrix Print Driver question


davil

Recommended Posts

Hi all,

I was wondering if anyone has any (windows) scripts or apps that can do any of the following?

  1. List printer drivers and which queues are actually using them (We are trying to clean up one of our servers)
  2. List printer drivers and their install dates and or created dates
  3. Find Corrupt printer drivers?

Any of the above I have googled for VBS answers etc. and coming up short. There might be a couple of C alternatives or C++ but I suck at those languages big time. Why can't windows run on PHP? it would be so much easier then :-)

anyhow sorry for such a noobish question but I'm really lost on this. We have 3 Presentation 4.0 servers here and 12 in another location. Our users run a system on the farm of 12 and the funniest part of it all is all 15 servers involved have different print drivers, different versions of software, different open ports etc. etc. and they're supposed to be identical. I almost fell off my chair laughing when I heard they were so disparate. But that's my company for you. (Public Service) anyway I have my work cut out for me lol. Anyone who has any suggestions I would greatly appreciate them. Thanks

p.s. I just found this VBS script:

strComputer = "ourserver"
Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colInstalledPrinters =  objWMIService.ExecQuery _
    ("Select * from Win32_PrinterDriver")

For each objPrinter in colInstalledPrinters
    Wscript.Echo "Configuration File: " & objPrinter.ConfigFile
    Wscript.Echo "Data File: " & objPrinter.DataFile
    Wscript.Echo "Description: " & objPrinter.Description
    Wscript.Echo "Driver Path: " & objPrinter.DriverPath
    Wscript.Echo "File Path: " & objPrinter.FilePath
    Wscript.Echo "Help File: " & objPrinter.HelpFile
    Wscript.Echo "INF Name: " & objPrinter.InfName
    Wscript.Echo "Monitor Name: " & objPrinter.MonitorName
    Wscript.Echo "Name: " & objPrinter.Name
    Wscript.Echo "OEM Url: " & objPrinter.OEMUrl
    Wscript.Echo "Supported Platform: " & objPrinter.SupportedPlatform
    Wscript.Echo "Version: " & objPrinter.Version
Next

and it works to show driver files so maybe I'll modify it to find out modified date for the files themselves but I'm not sure how effective / accurate that would be.

Thanks again for reading my long post.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...