Jump to content

Recommended Posts

Posted

Hi All,

I'm just wondering if there is some way in au3 to get a list of the availible printers, along with port listing (for network printing) etc etc? Also IP addresses of the printers.

Posted

Search for Computer Info UDF by JSThePatriot.

Example:

#include <CompInfo.au3>

Dim $aPrinterInfo
_ComputerGetPrinters($aPrinterInfo)
If Not @error Then
    For $i = 1 To $aPrinterInfo[0][0]
        MsgBox(0, $aPrinterInfo[$i][0], "Port Name = " & $aPrinterInfo[$i][59])
    Next
Else
    MsgBox(0, "", "ERROR?")
EndIf

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
×
×
  • Create New...