Previous Document Next Document

Object Model Reference : Classes : P : PrintSettings : Properties : PrintSettings.Collate


PrintSettings.Collate

Property Collate As Boolean

Description

Member of PrintSettings

The Collate property determines whether the pages of a document print together when several copies are printed.

 
The number of copies to be printed is set by the Copies property.
VBA example

The following VBA example creates a new document containing two pages. It adds the page number to each page and then prints three collated copies of the document.

Sub Test()
 Dim doc As Document
 Dim page As page
 Set doc = CreateDocument
 With doc
  .AddPages 2
  For Each page In .Pages
   page.ActiveLayer.CreateArtisticText page.SizeWidth / 2, page.SizeHeight / 2, "This is page " & page.Index
  Next page
  .PrintSettings.Copies = 3
  .PrintSettings.Collate = True
  .PrintOut
 End With
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.