VERSION 1.0 CLASS BEGIN MultiUse = -1 'True END Attribute VB_Name = "cAcroDist" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = False Attribute VB_Exposed = False Option Explicit Public WithEvents odist As PdfDistiller Attribute odist.VB_VarHelpID = -1 Dim StartTime As Date Private Sub Class_Initialize() Set odist = New PdfDistiller End Sub Private Sub odist_OnJobDone(ByVal strInputPostScript As String, ByVal strOutputPDF As String) Kill strInputPostScript ' deletes the input postscript, since it's not needed after PDF is made End Sub Private Sub odist_OnJobFail(ByVal strInputPostScript As String, ByVal strOutputPDF As String) End Sub Private Sub odist_OnJobStart(ByVal strInputPostScript As String, ByVal strOutputPDF As String) End Sub