printing iLogic

printing iLogic

info
Contributor Contributor
494 Views
1 Reply
Message 1 of 2

printing iLogic

info
Contributor
Contributor

Hello,

Can someone help me.
I want to print a sheet through iLogic


1 This printer prints A4 and A3 paper
2 This printer prints a2, a1 and a0 paper

When I pressure print should he find out which printer is required.
Also if I choose 0 that 2 drawings original format is printed and 1 time on A4 format.
If I choose 1 than 1 x printed in original format and 1 time on A4 format.

I hope there is someone who can help me with this problem.
Sorry for my poor english


regards Jos

0 Likes
495 Views
1 Reply
Reply (1)
Message 2 of 2

benjoefoe
Advocate
Advocate

Any experience in creating macros through Inventor's VBA editor?

Thats what I've done for a similar situation

 

Here is what I have to print on 11x17, you create the macro and add the custom button to your toolbar

 

Public Sub elevenXseventeen()
Dim oApp As Application
Set oApp = ThisApplication

If oApp.ActiveDocument.DocumentType = kDrawingDocumentObject Then
Dim oDrgDoc As DrawingDocument
Set oDrgDoc = oApp.ActiveDocument
Dim oDrgPrintMgr As DrawingPrintManager
Set oDrgPrintMgr = oDrgDoc.PrintManager
With oDrgPrintMgr
.Printer = "YOUR PRINTER'S NETWORK LOCATION"
.ColorMode = kPrintGrayScale
.AllColorsAsBlack = True
.ScaleMode = kPrintFullScale
.PaperSize = kPaperSize11x17
.PrintRange = kPrintAllSheets
.Orientation = kLandscapeOrientation
.RemoveLineWeights = False
.SubmitPrint
End With
End If
End Sub

Thanks, Ben

AutoDesk Inventor 2020 Certified