Object Model Reference : Classes : P : PrintPostScript : Properties : 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 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 |
Copyright 2013 Corel Corporation. All rights reserved.