I've searched for this a bit and didn't find anything that helped me much. So I'm mostly wondering how possible it is to print drawings using a VBA script. I'm interested in forcing print size and the best fit setting.
So if anyone has links or some code to share I would most appreciate it. Searching for printing/plotting yields more results about saving to dwg/pdf than printing to paper.
Here is a link to a macro I posted previously. Read the caveats and subsequent posts-it's not perfect but it works.
I have one I use that's intended to be run from an idw. It prompts asking if you would like to print the current sheet or all sheets and for number of copies, forcing all other settings. I wrote it because Inventor doesn't play well with our document center and the switching between 11x17 and 8.5x11.
Let me know if you want me to post up the code.
Code attached. Copy/paste the text file contents into your application project and use file/import file to bring in the .frm file. I'm honestly not sure what the frx file is, but Inventor outputs it when I export the form. I use a template level ilogic rule to call the macro.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.