Re: PRINT ORIENTATION IN ILOGIC

Re: PRINT ORIENTATION IN ILOGIC

anthony_hendrick
Advocate Advocate
590 Views
2 Replies
Message 1 of 3

Re: PRINT ORIENTATION IN ILOGIC

anthony_hendrick
Advocate
Advocate

Hi,

 

This same printing orientation problem seems to persist some 7/8 on. I too have to print a set of sheets both in landscape and portrait, however there is no option to do both at the same.

 

I am very intrigued by this macro solution but am having a hard time finding out how to use these files which have been uploaded by mrattray.

 

Any help would be greatly appreciated.

 

Thanks

 

Anthony

0 Likes
591 Views
2 Replies
Replies (2)
Message 2 of 3

mrattray
Advisor
Advisor

What a blast from the past. 8 years later I'm still using the same solution to the same problem, too. 

In inventor, from the ribbon, go to tools > VBA editor. Go to file > import and select the files I provided. This will add my files to your current VBA project file. From there you can fire the code a couple different ways. You can add an icon for the macro directly to the ribbon, or what i did is create an iLogic rule that calls it so I could implement it on an iLogic form with several other useful functions. 

You then forget that ctrl+p exists and instead use your new print button for all your printing needs.

Mike (not Matt) Rattray

0 Likes
Message 3 of 3

Anonymous
Not applicable

In iLogic, you can set orientation like this.

'Set Rotation Behaviour
oDrgPrintMgr.Rotate90Degrees = False
'oDrgPrintMgr.Rotate90Degrees = True

 I wrote an article about the print options in iLogic that you can access here: https://clintbrown.co.uk/2019/11/30/ilogic-print/

0 Likes