Previous Document Next Document

Object Model Reference : Classes : P : PrintPostScript : Properties : PrintPostScript.ConformToDSC


PrintPostScript.ConformToDSC

Property ConformToDSC As Boolean

Description

Member of PrintPostScript

The ConformtoDSC property ensures that a PostScript file conforms to the Document Structuring Convention.

VBA example

The following VBA example saves the current value of the ConformToDSC property and sets it to True. After it prints the document, it restores the saved value.

Sub Test()
 Dim bConformToDSC As Boolean
 'save current value
 With ActiveDocument.PrintSettings.PostScript
  bConformToDSC = .ConformToDSC
  'set new value
  .ConformToDSC = True
 End With
 'print document
 ActiveDocument.PrintOut
 'restore saved value
 With ActiveDocument.PrintSettings.PostScript
  .ConformToDSC = bConformToDSC
 End With
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.