If you disable just the avast Firewall shield does it allow your application and printer?
From the client please post a screenshot of the firewall rules you have and we can assist in getting them adjusted to allow this.
Cheers, Mac