Jump to content

Recommended Posts

Posted

Hi.

I need to get an array of the printers that are installed on the machine.

This could be useful the automatically install some missing printers on the client computers, comparing the installed printers list with a list of printers that should be installed.

Is there a way to get this information with AutoIt?

Thank you

Nico

Posted

The installed printers (OS W2K/WXP) are listed in registry subkeys of

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Print\Printers

or/and

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers

The syntax of each subkey is related to printers type (local, network and network provider)

Other usefull info are contained in key values of each printer subkey (like "Name", "Printer Driver", "Port" ....)

Hope this can help you

Vincenzo

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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