Description
Prints the entire article in draft mode.
Available in Ted.
Syntax
object.PrintDraft strconfig |
object
Required. Object name. Returned by Ted.GetActiveArticle.
strConfig
Required. Configuration name.
Remarks
The method accepts one string parameter that specifies the name of the printing configuration to use - eg Ted.GetActiveArticle.PrintDraft("LaserJet1"). If the configuration name is empty the user is prompted to chose or create one with the usual printing draft dialog
Example
This script displays the print dialog.
If Ted.HasActiveArticle Then
Ted.GetActiveArticle.PrintDraft ""
End If
This script print to the printer LaserJet1; no dialog box is displayed.
If Ted.HasActiveArticle Then
Ted.GetActiveArticle.PrintDraft("LaserJet1")
End If
Context
Article object