示例

以下示例展示了如何使用连接名称为新创建的 autECLPrinterSettings 对象设置连接。

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