To test if it is avast!
Temporarily disable avast! for a few mins from the tray icon > avast! shields control > disable for 10 mins and then print
If the issue is solved then it is most likely avast!.
If not, I doubt it’s related to avast!.