Jump to content

Search the Community

Showing results for tags 'array _printmgr_printerexists'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Hello Everyone, What I am trying to accomplish is have an array with Values (printer names) and check that against the installed printers using _PrintMGR_PrinterExists. If the printer exists on the system, delete any printer jobs and then delete the printer. I have I'm not sure how to code the array check to the printers installed. #include "PrintMgr.au3" #include <Array.au3> $LblPrnArr[2] = ["DYMO LabelWriter 330","DYMO LabelWriter 330-USB"] For $i = 0 to UBound($LblPrnArr) -1 _ArrayDisplay($LblPrnArr) Local $sSearch = _Printmgr_PrinterExists($LblPrnArr[2]) If _Printmgr_PrinterExists($LblPrnArr[2]) = 1 Then ;If installed printer matches MsgBox(0,"It's here","It's here!") Else ; not installed MsgBox(0,"Negative", "Your code didn't work") EndIf Next Any help is appreciated.
×
×
  • Create New...