drawing print manager will work if it is a print job. I am using translator addin to create the pdf with various options as required. presently I am using a workaround to do the same.
Dim oSheet As Sheet
If Me.CheckBoxExcluded.Checked = True Then
For Each oSheet In oDrgDoc.Sheets
If oSheet.ExcludeFromPrinting = True Then
oSheet.ExcludeFromPrinting = False
End If
Next
End If
' and as below
ElseIf RB_SheetsInRange.Checked = True Then
Dim i As Integer
i = Me.NumericUpDownStart.Value
Do
oDrgDoc.Sheets(i).Activate()
oDoc = oDrgDoc.ActiveSheet.DrawingViews.Item(1).ReferencedDocumentDescriptor.ReferencedDocument
strfilename = oDoc.PropertySets.Item("Design Tracking Properties").Item("Part Number").Value
oDataMedium.FileName = Me.PathTextBox.Text & "\" & strfilename & ".pdf"
PDFAddIn.SaveCopyAs(oDocument, oContext, oOptions, oDataMedium)
i = i + 1
Loop Until i = Me.NumericUpDownEnd.Value + 1
End If
above is a part of my code which is using the workaround