Print the document to a specific printer

In one of my previous posts, I have discussed how to download and print a remote file. Here is the blog link http://www.navisionworld.com/2017/09/how-to-print-remote-file-from-nav.html The solution in the above post will print the file to the default printer and recently I was working on a modification where…