autECLPrinterSettings object

The autECLPrinterSettings object enables you to access the methods contained in the ZIEWin.autECLPrinterSettings class. See autECLPageSettings Class for more information.

The following example shows the autECLPageSettings object.

DIM SessObj as Object
Set SessObj = CreateObject("ZIEWin.autECLSession")
' Initialize the session
SessObj.SetConnectionByName("A")

'For example, set the Windows default printer
SessObj.autECLPrinterSettings.SetWinDefaultPrinter

The autECLPrinterSettings object is also supported in VBSCRIPT. The following example shows how to use VBSCRIPT.

sub test_()
  autECLSession.SetConnectionByName(ThisSessionName)
  autECLSession.autECLPrinterSettings.SetWinDefaultPrinter
end sub