Message 1 of 4
Multi-page PDF with Inventor Apprentice

Not applicable
08-12-2005
12:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm having trouble creating PDF's of multi-sheet drawings using Inventor Apprentice. When the print job is sent to Acrobat Distiller it sends the two sheets as two separate jobs whereas I want a single job sent which would create a multi-page PDF. When I print from Inventor the multi-sheet drawing prints fine... Anyone have any suggestions? I've created a batch print utility to convert idw and dwg to pdf but the multi-sheet idw's aren't working right. Here is some of the code I'm using in Visual Basic:
Dim app As New InventorApprentice.ApprenticeServerComponent
Dim doc As InventorApprentice.ApprenticeServerDocument
Dim pm As InventorApprentice.ApprenticeDrawingPrintManager
doc = app.Open(ofd1.FileName)
pm = doc.PrintManager
pm.Printer = "Acrobat Distiller"
pm.PrintExcludedSheets = True
pm.PrintRange() = InventorApprentice.PrintRangeEnum.kPrintAllSheets
pm.ScaleMode = InventorApprentice.PrintScaleModeEnum.kPrintBestFitScale
pm.SubmitPrint()
Thanks!
I'd be willing to share the full code if anyone wants it.
Dim app As New InventorApprentice.ApprenticeServerComponent
Dim doc As InventorApprentice.ApprenticeServerDocument
Dim pm As InventorApprentice.ApprenticeDrawingPrintManager
doc = app.Open(ofd1.FileName)
pm = doc.PrintManager
pm.Printer = "Acrobat Distiller"
pm.PrintExcludedSheets = True
pm.PrintRange() = InventorApprentice.PrintRangeEnum.kPrintAllSheets
pm.ScaleMode = InventorApprentice.PrintScaleModeEnum.kPrintBestFitScale
pm.SubmitPrint()
Thanks!
I'd be willing to share the full code if anyone wants it.