here's a code I used to export all my drawing's within an .idw file to PDF format, to the same folder location that the .idw file exists.
----------------------------------------------------------------------------------------------------------------------------
'this rule outputs all drawing sheets to pdf, 3D models of first sheet not included
oPath = ThisDoc.Path
docName = ThisDoc.FileName(False)
path_and_name = oPath & "\" & docName
DWFAddIn = ThisApplication.ApplicationAddIns.ItemById("{0AC6FD95-2F4D-42CE-8BE0-8AEA580399E4}")
oDocument = ThisApplication.ActiveDocument
oContext = ThisApplication.TransientObjects.CreateTranslationContext
oContext.Type = IOMechanismEnum.kFileBrowseIOMechanism
oOptions = ThisApplication.TransientObjects.CreateNameValueMap
oDataMedium = ThisApplication.TransientObjects.CreateDataMedium
If DWFAddIn.HasSaveCopyAsOptions(oDocument, oContext, oOptions) Then
oOptions.Value("Launch_Viewer") = launchviewer
oOptions.Value("Publish_All_Component_Props") = 1
oOptions.Value("Publish_All_Physical_Props") = 1
oOptions.Value("Password") = 0
If TypeOf oDocument Is DrawingDocument Then
Dim oSheets As NameValueMap
oSheets = ThisApplication.TransientObjects.CreateNameValueMap
'oOptions.Value("Publish_Mode") = DWFPublishModeEnum.kCustomDWFPublish
oOptions.Value("Publish_All_Sheets") = 1
End If
End If
oDataMedium.FileName = path_and_name & ".pdf"
Call DWFAddIn.SaveCopyAs(oDocument, oContext, oOptions, oDataMedium)
If launchviewer = 1 Then ThisDoc.Launch(path_and_name & ".pdf")
oDocument.Save()
-------------------------------------------------------------------
after sometime of only one sheet publishing, i went to manually export the file, and as @WCrihfield (i think) stated, i had to change the print range to "all sheets" in the dialogue box shown below. after that, it worked like a dream.

(note: you can change the oPath at the top of the text file to any directory, then at the bottom, change the file extension to dwf to get the same operation in a dwf file format.
oPath = ThisDoc.Path
eg. oPath = O:\Product Drawings
THEN...change .pdf to .dwf
oDataMedium.FileName = path_and_name & ".pdf"
Call DWFAddIn.SaveCopyAs(oDocument, oContext, oOptions, oDataMedium)
If launchviewer = 1 Then ThisDoc.Launch(path_and_name & ".pdf")
oDocument.Save()