AddPrinterConnection works for me in both 2000 and NT
Beware however, with some models of printer unless you upgrade the driver on the print server to an NT/2000 driver a 2000 machine may get the dreaded spoolss.exe giant memory suck error.
Scuse my technical description.
Heres a cut and paste from the Kixtart helpdesk manual.
-------------------------------------
AddPrinterConnection( )

Action: Adds a connection to the specified printer for the current user.

Syntax: ADDPRINTERCONNECTION ("printer name")

Parameters: Printer name

The (share)name of the printer to which to connect.

Remarks: This function is available only on Windows NT family, and can be used only to connect to printers on a server running the Windows NT/2000/XP operating system.
When Windows NT connects to the printer, it may copy printer driver files to the local computer. If the user does not have permission to copy files to the appropriate location, ADDPRINTERCONNECTION fails, and @ERROR returns ERROR_ACCESS_DENIED.


Returns: 0 Printer connection established
Error code Function failed


See Also: DelPrinterConnection( ), SetDefaultPrinter( )

Example: If ADDPRINTERCONNECTION ("\\vleerbeer\hp laserjet 4") = 0
? "Added printer connection...."
Endif

[Big Grin] [Big Grin] [Razz] [Big Grin] [Big Grin] [Cool] [Big Grin] [Smile]
_________________________
-------------------------------- When you can take this stone from my hand Gwasshoppa you are read... *yoink* Gwasshoppa? Gwasshoppa? Where did you go? ---------------------------------