Without knowing details we can only guess.
So, please provide details.
What exact version of avast ?
What OS/SP ?
Any error ?
If so, what is the exact error ?
How is the printer connected ?
etc.