Help Printing Sales Orders Imported Through Visiual Importer

Hello,

I've successfully imported sales orders with the Visual Integrator, and I would like the sales order to print automatically once imported. I thought I had found the instructions in a post (linked below), so I added the last four lines to have the sales orders printed.

Here is a picture of my current configurations: 

And here is the link to the post I'm referencing, It was referencing doing the same with BOI:  BOI script to print Sales Orders 

Can someone help me configure to achieve this goal?

Any help is appreciated!