The PrintProperties class encapsulates DataWindow and DataStore print properties, and the corresponding PrintProperties property returns the properties. For example, the following code sets the Collate print property to true:
dwEmp.PrintProperties.Collate = true;