anybody on Here good with Visual Basic

BlkMica_03
10+ year member

Senior VIP Member
i was never really any good at programming but can someone tell me what is wrong with this Script?

Set WshNetwork = CreateObject("WScript.Network")

PrinterPath = "\\servername\Room266Laser"

PrinterDriver = "HP LaserJet 1200 Series PCL"

WshNetwork.AddWindowsPrinterConnection PrinterPath, PrinterDriver

WshNetwork.SetDefaultPrinter "\\servername\Room266Laser"

 
Activity
No one is currently typing a reply...

About this thread

BlkMica_03

10+ year member
Senior VIP Member
Thread starter
BlkMica_03
Joined
Location
washington, PA
Start date
Participants
Who Replied
Replies
0
Views
97
Last reply date
Last reply from
BlkMica_03
IMG_20260516_193114554_HDR.jpg

sherbanater

    May 16, 2026
  • 0
  • 0
IMG_20260516_192955471_HDR.jpg

sherbanater

    May 16, 2026
  • 0
  • 0

New threads

Top