Example

The following example shows how to use the connection name to set the connection for a newly created autECLPrinterSettings object.

Dim PrSet as Object
Set PrSet = CreateObject("ZIEWin.autECLPrinterSettings")
' Initialize the connection
PrSet.SetConnectionByName("A")
' For example, see if PDTMode 
If PrSet.PDTMode Then
'your logic here...
End If