I've got a script that maps a network printer locally where the user is.

For instance, the client is connected to 192.9.250.190 and the printer in on 192.9.250.240. The script will map to the printer via a server. But I want to make it where it will go directly to the printer, avoiding the print server.

Hope this helps, here is an example of what i'm doing at the moment.

$ClientIP = "192.9.250"
$TestIP = "192.9.250"
If $ClientIP = $TestIP
IF ADDPRINTERCONNECTION ("\\nw2opib\ITHP4000")=0
? "Added printer connection.."
EndIf
EndIf