Previous Document Next Document
PrintSettings.Collate

Property Collate As Boolean

Member of PrintSettings

The Collate property determines whether the pages of a document print together when you print several copies of a document. The number of copies to be printed is set by the Copies property.

The following code 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 2007 Corel Corporation. All rights reserved.