Sometimes gdi32.dll module can identify the size of some printer drivers incorrectly. And you can see the following error in Event Properties:
“The Citrix Print Manager Service terminated unexpectedly. It has done this 2 time(s). The following corrective action will be taken in 60000 milliseconds: Restart the service.”
And the Event ID is 7031. There are also some other cases of this error, but you can find them all in this article. And also you can find the effective methods how to solve all this problems. Just read the article and perform all the actions and you computer will work properly.