"Lookups are your friend"...

Basically, things change, printers get replaced, have new names, etc.. Your monolithic coding method will require a rewrite every time something changes. Also, using a Select statement prevents a workstation from using more than one printer. Here's some pseudo-code for an alternative method - the entire block of code is listed below:
 Code:
$Config = '\\DOMAIN\netlogon\printerconfig.ini'  ; put in central place
; local copy for testing, remove this when done testing !!
$Config = 'c:\mytestconfig.ini' 
$StationID = Left(@WKSTA, 8)  ; assumes first 8 chars define the location
 
; get the list of printer(s) for this station's ID
$Printers = Split(ReadProfileString($Config, 'Printers', $StationID), ';')
; Add 1 or more printer connections
For Each $Printer in $Printers
  $Nothing = AddPrinterConnection($Printer)
Next
; first listed printer is the default printer
$Nothing = SetDefaultPrinter($Printers[0])

printerconfig.ini might look like this (one entry shown):
 Code:
[printers]
047-DRAF=\\server\HP-GL/2 Plotter;\\server\LaserJet 4

Thus, any workstation that started with "047-draf" would have two printers mapped - a plotter and a laser printer, with the plotter set to the default. The code never changes, you update the config file, it replicates to all DCs, and any copy of your code picks up the new settings. Simple.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D