API Documentation > CorelDRAW > 2025-v26 > PrintPostScript > IPrnVBAPrintPostScript
PrintPostScript.ConformToDSC property
Specifies whether DSC-compliant only PostScript should be generated
Syntax:
Property Get ConformToDSC() As Boolean
Property Let ConformToDSC(ByVal Value As Boolean)
Remarks:
The ConformtoDSC property specifies a Boolean (True or False) value that indicates whether a PostScript file conforms to the Document Structuring Convention (DSC).
Examples:
The following VBA example saves the current value of the ConformToDSC property and specifies it as 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