Print Preview ActiveX Active Users: 18 / Visits Today: 36
Highest Active Users: 18
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
 DirectPrinting - Property
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic: ShowInTaskBar - Property Topic Next Topic: SetEMailFormPicture - Method  

emiel
Administrator

Belgium
327 Posts

Posted - 07/21/2005 :  12:55:24  Show Profile
Property DirectPrinting

Action:

This property sets or returns the flag that determines whether the output is previewed or sent directly to the printer.

Syntax:

DirectPrinting [ = bDirPrint as Boolean ] as Boolean

Remarks:

If this property is set to True then Enddocument prOTScreen will be overridden.

Example:
Private Sub Command0_Click()

preview.AddFirstPage 
preview.AddTextAt "1", 500, 500
preview.AddPage
preview.AddTextAt "2", 500, 500

preview.DirectPrinting = True ' the next line will not be executed

preview.EndDocument prOTPrinter

End Sub

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


Edited by - emiel on 07/05/2006 11:32:25
Go to Bottom of Page
  Previous Topic: ShowInTaskBar - Property Topic Next Topic: SetEMailFormPicture - 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