Click here to return to the KiXtart HelpDesk main page...

KiXtart 2001 Manual

DelPrinterConnection( )

Action: Deletes a connection to a printer that was established by using AddPrinterConnection.
 
Syntax: DELPRINTERCONNECTION ("printer name")
 
Parameters: Printer name

A string that specifies the name of the printer connection to delete.

Remarks: This function is only available on Windows NT/2000.

The DELPRINTERCONNECTION function does not delete any printer driver files that were copied from the server on which the printer resides when the printer connection was established.
 

Returns:
0 Printer connection deleted
Error code Function failed  
 
See Also: AddPrinterConnection( )
 
Example:

If DelPrinterConnection ("hplaser4") = 0
  ? "Deleted printer connection...."
Endif