Print Preview ActiveX Active Users: 10 / Visits Today: 350
Highest Active Users: 138
Print Preview ActiveX
Home | Profile | Register | Active Topics | Members | Search | FAQ | RSS
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Print Preview
 Help file
 Collate - Property
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic: ColorMode - Property Topic Next Topic: ClearPage - Method  

emiel
Administrator

Belgium
327 Posts

Posted - 07/26/2005 :  13:39:07  Show Profile
Property Collate

Action:

This property sets or returns the setting of the collate checkbox in the printer dialog box.

Syntax:

Collate [ bValue as Boolean ] As Boolean

Remarks:

If bValue is True and copies are more then one, the order of the output is

page 1 * copies
page 2 * copies

if bValue = False and copies are more then one, the order of the output is

(page 1 + page 2) * copies.

Example:

The following sub will give the printouput as :

page 1
page 1
page 2
page 2

Private Sub Command0_Click()

preview.AddFirstPage 1000, 1000, 1000, 1000
preview.AddTextAt "testing1"
preview.AddPage 1000, 1000, 1000, 1000
preview.AddTextAt "testing2"

preview.Copies = 2
preview.Collate = True

preview.EndDocument prOTPrinter
End Sub

if preview.collate = false then the output is as follows :

page 1
page 2
page 1
page 2

Come and visit :
www.immoassist.com
www.ppreview.net
www.vbdiamond.com
www.d2dsources.com
www.mandix.com


Edited by - emiel on 07/29/2005 10:15:49
Go to Bottom of Page
  Previous Topic: ColorMode - Property Topic Next Topic: ClearPage - Method  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Print Preview ActiveX © Mandix Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000 Version 3.4.02