You can use this line to programatically "push" the print button:
Also just a tip: you might have better luck searching and asking questions of this type on the Inventor Customization forum:
I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.
Is there a way to catch this command before it executes?
Example: I want to use an iLogic form that is triggered via the iTrigger that users have to prompt to select what kind of print this is "RELEASE, REFERENCE, or DRAFT" once there selection is made the the form exits, the "Plot Stamp" in the title block is updated based on the selection and the print window is excuted with this command.
Now I have all this worked out but being that this isnt a perfect world the problem is users still sometimes click the print button which does not prompt them for the print type which is a problem. Which is why I am wondering if a user clicks the print button I can prompt the iLogic form before the print options window comes up?