
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey guys, i have a knatch for posting that which cannot be solved but here goes again.
Dim oAppren As New ApprenticeServerComponent
Dim oAppDWG As ApprenticeServerDrawingDocument = oAppren.Open("Q:\_Vault\SA_Designs\Projects\J0000 - PERDIX TEMPLATES\2) CAD\ERM-B1\0000_ERM-B1_101.idw")
Dim oAppPrinter As ApprenticeDrawingPrintManager = oAppDWG.PrintManager
oAppPrinter.Printer = Me.cbPrinters.SelectedItem
oAppPrinter.ScaleMode = PrintScaleModeEnum.kPrintBestFitScale
oAppPrinter.PaperSize = PaperSizeEnum.kPaperSize11x17
oAppPrinter.Orientation = PrintOrientationEnum.kLandscapeOrientation
oAppPrinter.PrintRange = PrintRangeEnum.kPrintSheetRange
oAppPrinter.SetSheetRange(1, oAppDWG.Sheets.Count)
oAppPrinter.AllColorsAsBlack = False
oAppPrinter.ColorMode = PrintColorModeEnum.kPrintColorPalette
oAppPrinter.SubmitPrint()
And at the oAppPrinter.SubmitPrint() I get a msgbox:
Title - Serious Error
Content - Library C:\Program Files\Autodesk\Inventor View 2016\Bin\bin32\FWSrv.dll does not exist.
Except it does exist as I've pasted that into Run and it opens the dll.
No idea why this is happening, this exact code ran before I installed Inventor View 2016. The only reason I installed the new inventor view is because i couldn't get this code to print in color.
Solved! Go to Solution.