Disregarding the VLAN info, the ADDPRINTERCONNECTION doesn't work for Windows 9x, so you'll need to find another solution for establishing the printer connection itself.

As for the VLAN question, you could create a .INI file with a list of the printers per VLAN and check the subnets the printers and workstations belong to.
_________________________
There are two types of vessels, submarines and targets.