Previous Document Next Document
PrintPostScript.ConformToDSC

Property ConformToDSC As Boolean

Member of PrintPostScript

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

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