What does this have to do with ADDPRINTERCONNECTION?
Quote:
AddPrinterConnection( )
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.
ADDPRINTERCONNECTION does not work directly with printservers like HP JetDirect, only with Windows-based printservers. To utilize ADDPRINTERCONNECTION, you'd have to create a Windows-based print server that connects to the JetDirect and then shares that printer to clients. Clients can then connect to the Windows-based print server for their printing needs.
Edited by sealeopard (2004-02-10 03:47 AM)
_________________________
There are two types of vessels, submarines and targets.