RemovePrinterConnection
Description (requires ScriptX v7.1 or later)
Removes a printer connection for the current user. It does not delete any printer driver files.
This is a blocking or synchronous function and might not return immediately. How quickly this function returns depends on run-time factors such as network status, print server configuration, and printer driver implementation. Calling this function could make Internet Explorer/the application appear to be unresponsive temporarily.
Syntax
printing.RemovePrinterConnection(sharename)
Parameter |
Description |
sharename |
The name of the printer to connect to |
Applies To
Client use only, not server. printing
See Also
AddPrinterConnection, currentPrinter, printer