Can iLogic print .txt of .xls?

Can iLogic print .txt of .xls?

machiel.veldkamp
Collaborator Collaborator
511 Views
4 Replies
Message 1 of 5

Can iLogic print .txt of .xls?

machiel.veldkamp
Collaborator
Collaborator

Can you print files with iLogic other than IV drawings?

 

I have a rule which finds all drawings from an assembly and prints/exports them. 

 

Now I got the question if we can add a print of the BOM of that. 

I already can make a .txt files which is placed in the same folder as the export.... Now on to print it!

 

Is this even possible within inventor? 

 

 

 

 

Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.

___________________________
0 Likes
512 Views
4 Replies
Replies (4)
Message 2 of 5

machiel.veldkamp
Collaborator
Collaborator

Anyone know this?

Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.

___________________________
0 Likes
Message 3 of 5

DRoam
Mentor
Mentor

Are you wanting to actually execute a "print" to a physical printer, or export to a PDF? Or something else?

 

Are you wanting this print/export to be of the BOM itself, or of the TXT file your code makes?

0 Likes
Message 4 of 5

machiel.veldkamp
Collaborator
Collaborator

I want to print the txt my code itself makes.

Did you find this reply helpful ? If so please use the Accept as Solution or Kudos button below.

___________________________
0 Likes
Message 5 of 5

GeorgK
Advisor
Advisor
Imports System.IO
Dim path As String = "c:\temp\MyTest.txt"
RawPrinterHelper.SendStringToPrinter("WindowsPrinterName", File.ReadAllText(path))