Message 1 of 5
PaperSize not taking

Not applicable
09-17-2009
10:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
We're using Inventor 2010 and I am having trouble getting a drawing to print to the paper size I specify in my code. I print like this:
dwgPrintMgr.Printer = prn.getPath()
dwgPrintMgr.PrintRange = PrintRangeEnum.kPrintAllSheets
dwgPrintMgr.PaperSize = PaperSizeEnum.kPaperSize11x17
dwgPrintMgr.Orientation = PrintOrientationEnum.kLandscapeOrientation
dwgPrintMgr.ScaleMode = PrintScaleModeEnum.kPrintBestFitScale
dwgPrintMgr.NumberOfCopies = 1
dwgPrintMgr.SubmitPrint()
but the print comes out as 8.5x11 every time (which is the default size on the printer). If I manually print from Inventor and choose 11x17 paper size, it works fine. Has anyone else seen this? Any idea what is happening?
Thanks.
dwgPrintMgr.Printer = prn.getPath()
dwgPrintMgr.PrintRange = PrintRangeEnum.kPrintAllSheets
dwgPrintMgr.PaperSize = PaperSizeEnum.kPaperSize11x17
dwgPrintMgr.Orientation = PrintOrientationEnum.kLandscapeOrientation
dwgPrintMgr.ScaleMode = PrintScaleModeEnum.kPrintBestFitScale
dwgPrintMgr.NumberOfCopies = 1
dwgPrintMgr.SubmitPrint()
but the print comes out as 8.5x11 every time (which is the default size on the printer). If I manually print from Inventor and choose 11x17 paper size, it works fine. Has anyone else seen this? Any idea what is happening?
Thanks.